Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001838/0.001838, allocations: 194.7 kB / 16.14 MB, free: 6.656 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 61.95 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3599, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003949/0.3639, allocations: 1.971 MB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.5512, allocations: 153.1 MB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.5515, allocations: 4 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.5518, allocations: 15.8 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.5522, allocations: 67.55 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.553, allocations: 227.4 kB / 1.219 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.5533, allocations: 255.1 kB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.5535, allocations: 70.61 kB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.5558, allocations: 225.1 kB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.556, allocations: 91.59 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.5561, allocations: 8 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.5566, allocations: 179.7 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.5567, allocations: 39.83 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.5569, allocations: 87.53 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.5574, allocations: 279.2 kB / 1.22 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5574, allocations: 3.938 kB / 1.22 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5574, allocations: 0 / 1.22 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5574, allocations: 0 / 1.22 GB, free: 13.7 MB / 0.9825 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.001234/0.5586, allocations: 0.5223 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.5587, allocations: 12.03 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/0.5597, allocations: 83.72 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.56, allocations: 235.9 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.5601, allocations: 38.03 kB / 1.221 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.5602, allocations: 16 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.5608, allocations: 266.5 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5608, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.5608, allocations: 4 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.5608, allocations: 8 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.5613, allocations: 167.8 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.5633, allocations: 1.18 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/0.5641, allocations: 202.7 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.5643, allocations: 76.81 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.5643, allocations: 15.91 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5643, allocations: 30.56 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 2.926e-06/0.5643, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002937/0.5673, allocations: 0.6296 MB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.5673, allocations: 51.41 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.5676, allocations: 222.9 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.5676, allocations: 29.7 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.5677, allocations: 136 kB / 1.224 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.5678, allocations: 39.39 kB / 1.224 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5679, allocations: 49.59 kB / 1.224 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.568, allocations: 330.8 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.5682, allocations: 79.81 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.5685, allocations: 129.2 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.569, allocations: 206 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.569, allocations: 4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001589/0.5706, allocations: 370.9 kB / 1.225 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5706, allocations: 4 kB / 1.225 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.5706, allocations: 4 kB / 1.225 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.5718, allocations: 161.5 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.572, allocations: 39.97 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.5761, allocations: 3.036 MB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.5765, allocations: 35.75 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.5766, allocations: 12.06 kB / 1.229 GB, free: 4.68 MB / 0.9825 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.0001628/0.5767, allocations: 125.8 kB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.5768, allocations: 19.75 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.5782, allocations: 372.2 kB / 1.229 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5782, allocations: 4 kB / 1.229 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5782, allocations: 3.938 kB / 1.229 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5783, allocations: 0 / 1.229 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.5786, allocations: 277.5 kB / 1.229 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5786, allocations: 4 kB / 1.229 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.5788, allocations: 23.98 kB / 1.229 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.5798, allocations: 165.6 kB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.5799, allocations: 4 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/0.5839, allocations: 3.072 MB / 1.233 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.584, allocations: 3.938 kB / 1.233 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.5853, allocations: 430.4 kB / 1.233 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.5855, allocations: 120.7 kB / 1.233 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.5855, allocations: 11.94 kB / 1.233 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.5858, allocations: 11.98 kB / 1.233 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.5859, allocations: 23.91 kB / 1.233 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.586, allocations: 4 kB / 1.233 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002053/0.5862, allocations: 167.1 kB / 1.233 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5862, allocations: 0 / 1.233 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004473/0.5866, allocations: 68 kB / 1.233 GB, free: 15.41 MB / 0.9981 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.0002365/0.5869, allocations: 117.3 kB / 1.233 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.588, allocations: 437.5 kB / 1.234 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.588, allocations: 0 / 1.234 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.5887, allocations: 362.8 kB / 1.234 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.5892, allocations: 55.89 kB / 1.234 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5902, allocations: 488.8 kB / 1.235 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.5906, allocations: 0.74 MB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.5908, allocations: 37.88 kB / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.5909, allocations: 23.42 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5909, allocations: 0 / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.009498/0.6004, allocations: 4.951 MB / 1.24 GB, free: 8.18 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)