Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001081/0.001081, allocations: 104 kB / 16.35 MB, free: 5.875 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.001085/0.001085, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8035/0.8035, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3935, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002756/0.3963, allocations: 1.649 MB / 0.5831 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1542/0.5505, allocations: 149.7 MB / 0.7293 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.5507, allocations: 0 / 0.7293 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.551, allocations: 19.8 kB / 0.7293 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.5513, allocations: 59.64 kB / 0.7294 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.5518, allocations: 175.3 kB / 0.7295 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.552, allocations: 159.5 kB / 0.7297 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.5522, allocations: 31.98 kB / 0.7297 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5533, allocations: 177 kB / 0.7299 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.5534, allocations: 59.81 kB / 0.7299 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.5535, allocations: 12 kB / 0.7299 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.5538, allocations: 167.7 kB / 0.7301 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.5539, allocations: 23.92 kB / 0.7301 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.5539, allocations: 51.72 kB / 0.7302 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.5543, allocations: 193.2 kB / 0.7304 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5543, allocations: 4 kB / 0.7304 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5543, allocations: 0 / 0.7304 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5543, allocations: 0 / 0.7304 GB, free: 5.281 MB / 0.5606 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.0008398/0.5551, allocations: 467 kB / 0.7308 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.5552, allocations: 11.97 kB / 0.7308 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.5558, allocations: 56.69 kB / 0.7309 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.556, allocations: 206.8 kB / 0.7311 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.556, allocations: 7.953 kB / 0.7311 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.5561, allocations: 12 kB / 0.7311 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.5565, allocations: 181.7 kB / 0.7313 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5565, allocations: 4 kB / 0.7313 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.5565, allocations: 4 kB / 0.7313 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5565, allocations: 8 kB / 0.7313 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.557, allocations: 139.8 kB / 0.7314 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5583, allocations: 0.8244 MB / 0.7322 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.5587, allocations: 126.5 kB / 0.7323 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.5589, allocations: 80.8 kB / 0.7324 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.559, allocations: 4 kB / 0.7324 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.559, allocations: 38.5 kB / 0.7325 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.559, allocations: 0 / 0.7325 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001868/0.5609, allocations: 455.3 kB / 0.7329 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.561, allocations: 55.41 kB / 0.7329 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.5611, allocations: 151.7 kB / 0.7331 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.5611, allocations: 29.7 kB / 0.7331 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.5612, allocations: 103.9 kB / 0.7332 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.5613, allocations: 31.55 kB / 0.7332 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.5613, allocations: 25.7 kB / 0.7333 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5615, allocations: 322.8 kB / 0.7336 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.5617, allocations: 71.94 kB / 0.7336 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.562, allocations: 108.2 kB / 0.7337 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.5624, allocations: 172.1 kB / 0.7339 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5624, allocations: 0 / 0.7339 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009451/0.5634, allocations: 286.1 kB / 0.7342 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5634, allocations: 7.938 kB / 0.7342 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5634, allocations: 4 kB / 0.7342 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.564, allocations: 88.88 kB / 0.7343 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.5643, allocations: 31.91 kB / 0.7343 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.5664, allocations: 1.666 MB / 0.7359 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.5666, allocations: 23.89 kB / 0.736 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.5667, allocations: 7.984 kB / 0.736 GB, free: 15.07 MB / 0.5762 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.0001142/0.5668, allocations: 123 kB / 0.7361 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.5668, allocations: 7.906 kB / 0.7361 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.5678, allocations: 326 kB / 0.7364 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5679, allocations: 7.984 kB / 0.7364 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.5679, allocations: 0 / 0.7364 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5679, allocations: 0 / 0.7364 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.5682, allocations: 237.5 kB / 0.7366 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5682, allocations: 0 / 0.7366 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.5684, allocations: 35.91 kB / 0.7367 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.5688, allocations: 68.78 kB / 0.7367 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.5689, allocations: 15.92 kB / 0.7368 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.5707, allocations: 1.681 MB / 0.7384 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5707, allocations: 0 / 0.7384 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.5717, allocations: 376 kB / 0.7388 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.5718, allocations: 85.02 kB / 0.7388 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.5718, allocations: 8 kB / 0.7388 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.572, allocations: 19.91 kB / 0.7389 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.5721, allocations: 19.92 kB / 0.7389 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.5721, allocations: 4 kB / 0.7389 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.445e-05/0.5722, allocations: 107.2 kB / 0.739 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5722, allocations: 0 / 0.739 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003149/0.5725, allocations: 44 kB / 0.739 GB, free: 11.68 MB / 0.5762 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.0002232/0.5727, allocations: 119.1 kB / 0.7391 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008745/0.5736, allocations: 306.7 kB / 0.7394 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5736, allocations: 0 / 0.7394 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005222/0.5741, allocations: 234.5 kB / 0.7397 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.5745, allocations: 19.98 kB / 0.7397 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.5754, allocations: 295.2 kB / 0.74 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5757, allocations: 0.7084 MB / 0.7407 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.5758, allocations: 28.81 kB / 0.7407 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.5759, allocations: 19.42 kB / 0.7407 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.5759, allocations: 0 / 0.7407 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of Templates: time 0.006633/0.5825, allocations: 3.212 MB / 0.7438 GB, free: 6.707 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)