Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 103.4 kB / 16.41 MB, free: 6.5 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.001301/0.001301, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002201/0.002201, allocations: 288.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9027/0.9027, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3937, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002793/0.3966, allocations: 1.671 MB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.143/0.5396, allocations: 149.7 MB / 0.9149 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.5397, allocations: 0 / 0.9149 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.54, allocations: 23.8 kB / 0.9149 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.5403, allocations: 47.62 kB / 0.9149 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.5408, allocations: 191.3 kB / 0.9151 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.541, allocations: 163.5 kB / 0.9153 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.5411, allocations: 29.11 kB / 0.9153 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.5423, allocations: 185.7 kB / 0.9155 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.5425, allocations: 71.69 kB / 0.9155 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.5425, allocations: 8 kB / 0.9156 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.5428, allocations: 159.8 kB / 0.9157 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.5429, allocations: 27.91 kB / 0.9157 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.5429, allocations: 51.73 kB / 0.9158 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.5433, allocations: 206 kB / 0.916 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5433, allocations: 0 / 0.916 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5433, allocations: 0 / 0.916 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.5433, allocations: 3.938 kB / 0.916 GB, free: 10.82 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008643/0.5442, allocations: 470.9 kB / 0.9164 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5442, allocations: 12.03 kB / 0.9164 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.5449, allocations: 52.78 kB / 0.9165 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.5451, allocations: 202.7 kB / 0.9167 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5452, allocations: 7.953 kB / 0.9167 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.5452, allocations: 12 kB / 0.9167 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.5456, allocations: 181.8 kB / 0.9169 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5456, allocations: 3.938 kB / 0.9169 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5457, allocations: 8 kB / 0.9169 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5457, allocations: 0 / 0.9169 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.5462, allocations: 147.8 kB / 0.917 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.5473, allocations: 0.8167 MB / 0.9178 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.5477, allocations: 130.5 kB / 0.918 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.548, allocations: 80.73 kB / 0.918 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.548, allocations: 0 / 0.918 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.548, allocations: 34.56 kB / 0.9181 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.548, allocations: 0 / 0.9181 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.001898/0.5499, allocations: 463.3 kB / 0.9185 GB, free: 8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.55, allocations: 55.41 kB / 0.9186 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.5501, allocations: 154.2 kB / 0.9187 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5501, allocations: 25.7 kB / 0.9187 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.5502, allocations: 112.2 kB / 0.9188 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.5503, allocations: 27.56 kB / 0.9189 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.5503, allocations: 37.62 kB / 0.9189 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5505, allocations: 318.8 kB / 0.9192 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.5507, allocations: 75.92 kB / 0.9193 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.551, allocations: 100.2 kB / 0.9194 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.5515, allocations: 180.4 kB / 0.9195 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5515, allocations: 0 / 0.9195 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001016/0.5525, allocations: 286.1 kB / 0.9198 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5525, allocations: 11.88 kB / 0.9198 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.5526, allocations: 4 kB / 0.9198 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.5532, allocations: 84.89 kB / 0.9199 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.5534, allocations: 39.89 kB / 0.92 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.5556, allocations: 1.653 MB / 0.9216 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.5559, allocations: 27.86 kB / 0.9216 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.5559, allocations: 7.984 kB / 0.9216 GB, free: 4.602 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.556, allocations: 124.1 kB / 0.9217 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.5561, allocations: 11.91 kB / 0.9217 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.5571, allocations: 322.7 kB / 0.922 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.5572, allocations: 4 kB / 0.922 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.5572, allocations: 0 / 0.922 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5572, allocations: 0 / 0.922 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.5575, allocations: 233.6 kB / 0.9223 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5575, allocations: 4 kB / 0.9223 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.5577, allocations: 35.95 kB / 0.9223 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.5581, allocations: 72.78 kB / 0.9224 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.5582, allocations: 11.92 kB / 0.9224 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.5601, allocations: 1.678 MB / 0.924 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5601, allocations: 0 / 0.924 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.5611, allocations: 382.1 kB / 0.9244 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5612, allocations: 112.8 kB / 0.9245 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.5612, allocations: 0 / 0.9245 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.5615, allocations: 15.92 kB / 0.9245 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.5615, allocations: 15.98 kB / 0.9245 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.5616, allocations: 15.92 kB / 0.9245 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 8.2e-05/0.5616, allocations: 107.3 kB / 0.9246 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5616, allocations: 0 / 0.9246 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003367/0.562, allocations: 51.98 kB / 0.9247 GB, free: 1.184 MB / 0.6856 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001753/0.5622, allocations: 103.2 kB / 0.9248 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008709/0.5631, allocations: 310.4 kB / 0.9251 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5631, allocations: 0 / 0.9251 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.5636, allocations: 234.8 kB / 0.9253 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.5639, allocations: 27 kB / 0.9253 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008284/0.5648, allocations: 337.1 kB / 0.9257 GB, free: 136 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.5651, allocations: 0.7124 MB / 0.9264 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.5651, allocations: 19.42 kB / 0.9264 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/0.5651, allocations: 0 / 0.9264 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of Templates: time 0.004643/0.5698, allocations: 2.744 MB / 0.9291 GB, free: 12.64 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)