Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 191.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.092/2.092, allocations: 390.3 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5036, allocations: 140.4 MB / 0.9492 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002462/0.5061, allocations: 1.956 MB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1393/0.6454, allocations: 153.2 MB / 1.101 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.6457, allocations: 0 / 1.101 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.6459, allocations: 19.86 kB / 1.101 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.6463, allocations: 63.55 kB / 1.101 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.647, allocations: 242.5 kB / 1.101 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.6474, allocations: 271.1 kB / 1.101 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.6475, allocations: 63.06 kB / 1.101 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.6495, allocations: 237.3 kB / 1.102 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.6497, allocations: 95.59 kB / 1.102 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.6497, allocations: 16 kB / 1.102 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.6501, allocations: 195.6 kB / 1.102 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.6502, allocations: 39.89 kB / 1.102 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.6503, allocations: 91.52 kB / 1.102 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000416/0.6507, allocations: 283.2 kB / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6507, allocations: 0 / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6507, allocations: 0 / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.6507, allocations: 0 / 1.102 GB, free: 4.898 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009581/0.6517, allocations: 0.5184 MB / 1.103 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6517, allocations: 12.03 kB / 1.103 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/0.6518, allocations: 50.55 kB / 1.103 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.6527, allocations: 87.62 kB / 1.103 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.653, allocations: 234.6 kB / 1.103 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.938e-05/0.653, allocations: 38.03 kB / 1.103 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.6531, allocations: 19.94 kB / 1.103 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.6536, allocations: 266.5 kB / 1.104 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6536, allocations: 3.938 kB / 1.104 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.6537, allocations: 8 kB / 1.104 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6537, allocations: 11.94 kB / 1.104 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.6541, allocations: 163.8 kB / 1.104 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.6558, allocations: 1.173 MB / 1.105 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.6565, allocations: 210.6 kB / 1.105 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.6567, allocations: 72.75 kB / 1.105 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.6567, allocations: 4 kB / 1.105 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.6568, allocations: 30.56 kB / 1.105 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.6568, allocations: 0 / 1.105 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.002626/0.6594, allocations: 0.6258 MB / 1.106 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.6595, allocations: 55.41 kB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.6597, allocations: 218.9 kB / 1.106 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.6597, allocations: 29.7 kB / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.6598, allocations: 136 kB / 1.106 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.6599, allocations: 47.34 kB / 1.106 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.66, allocations: 49.69 kB / 1.106 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.6601, allocations: 326.8 kB / 1.107 GB, free: 224 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.6603, allocations: 75.88 kB / 1.107 GB, free: 148 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.6605, allocations: 132.3 kB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.6609, allocations: 194.7 kB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6609, allocations: 0 / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001384/0.6623, allocations: 379.9 kB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6624, allocations: 4 kB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6624, allocations: 4 kB / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.6635, allocations: 169.7 kB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6637, allocations: 43.91 kB / 1.108 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.6675, allocations: 3.244 MB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.6678, allocations: 39.72 kB / 1.111 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.6679, allocations: 4 kB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.668, allocations: 137.6 kB / 1.111 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.6681, allocations: 23.88 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.6694, allocations: 369.3 kB / 1.111 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6694, allocations: 4 kB / 1.111 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.6694, allocations: 0 / 1.111 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6694, allocations: 3.984 kB / 1.111 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.6698, allocations: 277.3 kB / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6698, allocations: 4 kB / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.6699, allocations: 23.98 kB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/0.6708, allocations: 141.6 kB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6708, allocations: 8.078 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.6743, allocations: 3.293 MB / 1.115 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6744, allocations: 128 / 1.115 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.6757, allocations: 438.6 kB / 1.115 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.6758, allocations: 120.7 kB / 1.115 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.6759, allocations: 0 / 1.115 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.6762, allocations: 15.98 kB / 1.115 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.6763, allocations: 15.98 kB / 1.115 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.6763, allocations: 7.984 kB / 1.115 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002/0.6765, allocations: 167.1 kB / 1.116 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6765, allocations: 0 / 1.116 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004509/0.677, allocations: 75.94 kB / 1.116 GB, free: 6.098 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001598/0.6786, allocations: 0.9772 MB / 1.117 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6797, allocations: 447.7 kB / 1.117 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6797, allocations: 0 / 1.117 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.6804, allocations: 361.2 kB / 1.117 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.6808, allocations: 67.75 kB / 1.117 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.6856, allocations: 2.576 MB / 1.12 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6859, allocations: 0.74 MB / 1.121 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.6861, allocations: 37.88 kB / 1.121 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.6862, allocations: 55.41 kB / 1.121 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.6862, allocations: 0 / 1.121 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.607/3.294, allocations: 7.046 MB / 1.128 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/3.294, allocations: 240.3 kB / 1.128 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/5.57, allocations: 4 kB / 1.128 GB, free: 9.551 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat