Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009642/0.0009683, 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.006961/0.006961, allocations: 173.9 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.43/1.43, 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/IDEAS 3.0.0/package.mo): time 0.7831/0.7831, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.0005626, allocations: 8 kB / 0.504 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4724, allocations: 81.57 MB / 0.5837 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002428/0.4749, allocations: 1.582 MB / 0.5852 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1894/0.6644, allocations: 151.5 MB / 0.7332 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.6646, allocations: 0 / 0.7332 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.6647, allocations: 23.8 kB / 0.7332 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.665, allocations: 63.59 kB / 0.7332 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.6656, allocations: 223.4 kB / 0.7334 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.6659, allocations: 247.2 kB / 0.7337 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.6661, allocations: 60.33 kB / 0.7337 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.6679, allocations: 219.5 kB / 0.734 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.668, allocations: 79.61 kB / 0.734 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.668, allocations: 4 kB / 0.734 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.6684, allocations: 179.7 kB / 0.7342 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.6684, allocations: 31.84 kB / 0.7342 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.943e-05/0.6685, allocations: 97.28 kB / 0.7343 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.6689, allocations: 263.1 kB / 0.7346 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.6689, allocations: 4 kB / 0.7346 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6689, allocations: 0 / 0.7346 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6689, allocations: 0 / 0.7346 GB, free: 5.477 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008929/0.6698, allocations: 0.4912 MB / 0.7351 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6698, allocations: 8.031 kB / 0.7351 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008396/0.6707, allocations: 83.73 kB / 0.7351 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.6709, allocations: 218.7 kB / 0.7354 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.671, allocations: 45.97 kB / 0.7354 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.6711, allocations: 16 kB / 0.7354 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.6716, allocations: 271.2 kB / 0.7357 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6716, allocations: 0 / 0.7357 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.6716, allocations: 4 kB / 0.7357 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.6717, allocations: 8 kB / 0.7357 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.6721, allocations: 183.7 kB / 0.7359 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.6737, allocations: 1.18 MB / 0.737 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/0.6744, allocations: 206.7 kB / 0.7372 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.6747, allocations: 80.75 kB / 0.7373 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.6747, allocations: 7.984 kB / 0.7373 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.6747, allocations: 38.56 kB / 0.7373 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.6747, allocations: 0 / 0.7373 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002791/0.6775, allocations: 0.6492 MB / 0.738 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.6776, allocations: 51.41 kB / 0.738 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.6778, allocations: 194.4 kB / 0.7382 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.6779, allocations: 29.7 kB / 0.7382 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.678, allocations: 139.5 kB / 0.7384 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.678, allocations: 39.45 kB / 0.7384 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.6781, allocations: 25.7 kB / 0.7384 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6782, allocations: 326.8 kB / 0.7387 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.6785, allocations: 75.94 kB / 0.7388 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.6787, allocations: 135.6 kB / 0.7389 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.6792, allocations: 213.6 kB / 0.7391 GB, free: 448 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6792, allocations: 0 / 0.7391 GB, free: 448 kB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001451/0.6806, allocations: 390.6 kB / 0.7395 GB, free: 44 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6807, allocations: 8 kB / 0.7395 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6807, allocations: 0 / 0.7395 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.6818, allocations: 165.8 kB / 0.7397 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.6821, allocations: 39.91 kB / 0.7397 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/0.686, allocations: 3.043 MB / 0.7427 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.6864, allocations: 31.83 kB / 0.7427 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.6864, allocations: 7.984 kB / 0.7427 GB, free: 12.46 MB / 0.5762 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.0001387/0.6866, allocations: 139.3 kB / 0.7429 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.6866, allocations: 19.81 kB / 0.7429 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.688, allocations: 378.2 kB / 0.7432 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.688, allocations: 4 kB / 0.7432 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.688, allocations: 0 / 0.7432 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.688, allocations: 0 / 0.7432 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.6883, allocations: 289.2 kB / 0.7435 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6883, allocations: 0 / 0.7435 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.6885, allocations: 23.92 kB / 0.7435 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009839/0.6895, allocations: 165.5 kB / 0.7437 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.6895, allocations: 4 kB / 0.7437 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.6932, allocations: 3.072 MB / 0.7467 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6933, allocations: 0 / 0.7467 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.6946, allocations: 444.7 kB / 0.7471 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.6948, allocations: 112.9 kB / 0.7472 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.6948, allocations: 7.938 kB / 0.7472 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.6951, allocations: 20.17 kB / 0.7473 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.6952, allocations: 19.97 kB / 0.7473 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.6952, allocations: 7.984 kB / 0.7473 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001764/0.6954, allocations: 143.2 kB / 0.7474 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6954, allocations: 0 / 0.7474 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004283/0.6959, allocations: 79.78 kB / 0.7475 GB, free: 7.184 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 (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.0001983/0.6961, allocations: 115.2 kB / 0.7476 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.6972, allocations: 453.5 kB / 0.748 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6972, allocations: 0 / 0.748 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/0.6979, allocations: 367.6 kB / 0.7484 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.6984, allocations: 51.69 kB / 0.7484 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.6994, allocations: 481.3 kB / 0.7489 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.6997, allocations: 0.7285 MB / 0.7496 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.7, allocations: 37.92 kB / 0.7497 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.7, allocations: 23.42 kB / 0.7497 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.7, allocations: 0 / 0.7497 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of Templates: time 0.01006/0.7101, allocations: 4.915 MB / 0.7545 GB, free: 12 kB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)