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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0006975/0.0006976, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004177/0.004177, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.094/2.094, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5234, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00156/0.525, allocations: 1.619 MB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.6602, allocations: 151.5 MB / 1.105 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.6603, allocations: 0 / 1.105 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.6605, allocations: 23.8 kB / 1.105 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.6607, allocations: 55.62 kB / 1.105 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.6613, allocations: 242.6 kB / 1.105 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.6616, allocations: 259.1 kB / 1.105 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.6617, allocations: 60.66 kB / 1.105 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.6633, allocations: 225.8 kB / 1.106 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.6635, allocations: 75.61 kB / 1.106 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.6635, allocations: 4 kB / 1.106 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.6638, allocations: 175.7 kB / 1.106 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.6638, allocations: 31.89 kB / 1.106 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.6639, allocations: 105.2 kB / 1.106 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.6642, allocations: 267.1 kB / 1.106 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6642, allocations: 0 / 1.106 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6642, allocations: 4 kB / 1.106 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6643, allocations: 0 / 1.106 GB, free: 4.211 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.0007538/0.665, allocations: 0.495 MB / 1.107 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6651, allocations: 12.03 kB / 1.107 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.6651, allocations: 54.48 kB / 1.107 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/0.6659, allocations: 83.72 kB / 1.107 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.6661, allocations: 228.5 kB / 1.107 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.6662, allocations: 42.02 kB / 1.107 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6662, allocations: 19.98 kB / 1.107 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.6667, allocations: 278.5 kB / 1.107 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6667, allocations: 3.938 kB / 1.107 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.6668, allocations: 8 kB / 1.107 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.6668, allocations: 4 kB / 1.107 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.6672, allocations: 179.8 kB / 1.107 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.6686, allocations: 1.177 MB / 1.109 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.6693, allocations: 206.7 kB / 1.109 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.6695, allocations: 80.81 kB / 1.109 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.6696, allocations: 0 / 1.109 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.6696, allocations: 42.56 kB / 1.109 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.6696, allocations: 0 / 1.109 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.00255/0.6721, allocations: 0.6492 MB / 1.11 GB, free: 404 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.6722, allocations: 59.34 kB / 1.11 GB, free: 332 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.6724, allocations: 214.9 kB / 1.11 GB, free: 108 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.6724, allocations: 25.7 kB / 1.11 GB, free: 76 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.6725, allocations: 140 kB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.6726, allocations: 47.36 kB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.6726, allocations: 17.72 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.6727, allocations: 330.8 kB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.6729, allocations: 75.94 kB / 1.11 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.6731, allocations: 131.7 kB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.6736, allocations: 218.6 kB / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6736, allocations: 0 / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00138/0.6749, allocations: 386.7 kB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.675, allocations: 8 kB / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.675, allocations: 0 / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.676, allocations: 169.7 kB / 1.111 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.6762, allocations: 35.97 kB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.6795, allocations: 3.036 MB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.6798, allocations: 43.78 kB / 1.114 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.6799, allocations: 4 kB / 1.114 GB, free: 11.1 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.0001085/0.68, allocations: 133.8 kB / 1.115 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.68, allocations: 31.69 kB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.6813, allocations: 370.1 kB / 1.115 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6813, allocations: 4 kB / 1.115 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.6813, allocations: 3.938 kB / 1.115 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6813, allocations: 3.984 kB / 1.115 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.6816, allocations: 277.4 kB / 1.115 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6816, allocations: 4 kB / 1.115 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.6817, allocations: 23.98 kB / 1.115 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009321/0.6827, allocations: 169.5 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.6827, allocations: 0 / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.6858, allocations: 3.084 MB / 1.118 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6858, allocations: 0 / 1.118 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.687, allocations: 436.7 kB / 1.119 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.6871, allocations: 124.7 kB / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.6872, allocations: 4.062 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.6874, allocations: 27.98 kB / 1.119 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6875, allocations: 23.91 kB / 1.119 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.6875, allocations: 4 kB / 1.119 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001558/0.6877, allocations: 159.2 kB / 1.119 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.6877, allocations: 0 / 1.119 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003932/0.6881, allocations: 71.94 kB / 1.119 GB, free: 5.785 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.001497/0.6896, allocations: 0.9851 MB / 1.12 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009324/0.6906, allocations: 449.5 kB / 1.121 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6906, allocations: 7.938 kB / 1.121 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006228/0.6912, allocations: 365.2 kB / 1.121 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.6916, allocations: 61.47 kB / 1.121 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.6962, allocations: 2.628 MB / 1.124 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.6965, allocations: 0.7284 MB / 1.124 GB, free: 364 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001947/0.6967, allocations: 41.88 kB / 1.124 GB, free: 320 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.6968, allocations: 55.42 kB / 1.124 GB, free: 264 kB / 0.8731 GB Notification: Performance of SimCode: time 1.472e-06/0.6968, allocations: 0 / 1.124 GB, free: 264 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.7137, allocations: 6.638 MB / 1.131 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.7139, allocations: 236.6 kB / 1.131 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.474, allocations: 4 kB / 1.131 GB, free: 9.605 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