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.001559/0.001559, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002259/0.002258, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7974/0.7974, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 58.94 kB / 0.5011 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1667, allocations: 80.21 MB / 0.5794 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00316/0.1699, allocations: 1.928 MB / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4896/0.6595, allocations: 153.1 MB / 0.7308 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.6598, allocations: 2.125 kB / 0.7308 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.66, allocations: 18.11 kB / 0.7309 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.6603, allocations: 66.25 kB / 0.7309 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.6612, allocations: 226 kB / 0.7311 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.6615, allocations: 245.6 kB / 0.7314 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.6617, allocations: 64.31 kB / 0.7314 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.6635, allocations: 232.5 kB / 0.7317 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.6637, allocations: 85.14 kB / 0.7317 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.6637, allocations: 10.5 kB / 0.7317 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.6641, allocations: 182.4 kB / 0.7319 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.6642, allocations: 33.7 kB / 0.732 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.6643, allocations: 86.8 kB / 0.732 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.6647, allocations: 266.5 kB / 0.7323 GB, free: 1.109 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6647, allocations: 3.938 kB / 0.7323 GB, free: 1.105 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6647, allocations: 5.031 kB / 0.7323 GB, free: 1.102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.6647, allocations: 0 / 0.7323 GB, free: 1.102 MB / 0.545 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.001004/0.6658, allocations: 0.5087 MB / 0.7328 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6658, allocations: 13.69 kB / 0.7328 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008925/0.6667, allocations: 90.61 kB / 0.7329 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.667, allocations: 222.2 kB / 0.7331 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/0.6671, allocations: 45.62 kB / 0.7331 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.6671, allocations: 17.97 kB / 0.7332 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.6677, allocations: 264 kB / 0.7334 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6677, allocations: 0.7812 kB / 0.7334 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.6677, allocations: 6.406 kB / 0.7334 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.6677, allocations: 4.719 kB / 0.7334 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.6682, allocations: 170.5 kB / 0.7336 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.6699, allocations: 1.169 MB / 0.7347 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.6707, allocations: 203.6 kB / 0.7349 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.6708, allocations: 71.97 kB / 0.735 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.6709, allocations: 8.75 kB / 0.735 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.6709, allocations: 39.81 kB / 0.735 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.6709, allocations: 0 / 0.735 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002717/0.6736, allocations: 0.6216 MB / 0.7356 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.6737, allocations: 60.14 kB / 0.7357 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.6739, allocations: 198 kB / 0.7359 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.674, allocations: 34.7 kB / 0.7359 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.6741, allocations: 132.8 kB / 0.7361 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.6741, allocations: 43.89 kB / 0.7361 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.6742, allocations: 45.25 kB / 0.7361 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6743, allocations: 332.6 kB / 0.7365 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.6745, allocations: 65.84 kB / 0.7365 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.6748, allocations: 135.5 kB / 0.7366 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.6752, allocations: 198 kB / 0.7368 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6752, allocations: 0 / 0.7368 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001448/0.6767, allocations: 381.1 kB / 0.7372 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6767, allocations: 5.844 kB / 0.7372 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6767, allocations: 9.562 kB / 0.7372 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.6778, allocations: 159.2 kB / 0.7374 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.6781, allocations: 35.69 kB / 0.7374 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.6819, allocations: 3.042 MB / 0.7404 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.6823, allocations: 31.42 kB / 0.7404 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.6823, allocations: 13.48 kB / 0.7404 GB, free: 10.55 MB / 0.5606 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.0001596/0.6825, allocations: 131.5 kB / 0.7405 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.6826, allocations: 11.44 kB / 0.7406 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.6839, allocations: 383.9 kB / 0.7409 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6839, allocations: 0 / 0.7409 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.6839, allocations: 0 / 0.7409 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6839, allocations: 0 / 0.7409 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.6842, allocations: 269.4 kB / 0.7412 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6843, allocations: 0.6875 kB / 0.7412 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.6844, allocations: 19.73 kB / 0.7412 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.6854, allocations: 164.7 kB / 0.7414 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.6854, allocations: 2.875 kB / 0.7414 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003452/0.6889, allocations: 3.078 MB / 0.7444 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6889, allocations: 3.938 kB / 0.7444 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.6902, allocations: 427 kB / 0.7448 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.6904, allocations: 105.8 kB / 0.7449 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.6904, allocations: 9.25 kB / 0.7449 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.6907, allocations: 20.64 kB / 0.7449 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.6908, allocations: 19 kB / 0.7449 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.6908, allocations: 8 kB / 0.7449 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002062/0.6911, allocations: 145.6 kB / 0.7451 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6911, allocations: 0 / 0.7451 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005058/0.6916, allocations: 73.48 kB / 0.7451 GB, free: 6.262 MB / 0.5606 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.000235/0.6918, allocations: 115.3 kB / 0.7452 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.693, allocations: 443.4 kB / 0.7457 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.693, allocations: 3.938 kB / 0.7457 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.6937, allocations: 354.7 kB / 0.746 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.6942, allocations: 53.02 kB / 0.7461 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.6952, allocations: 463.3 kB / 0.7465 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.6955, allocations: 0.7334 MB / 0.7472 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.6957, allocations: 39.36 kB / 0.7473 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.6958, allocations: 26.42 kB / 0.7473 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of SimCode: time 2.194e-06/0.6958, allocations: 0 / 0.7473 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of Templates: time 0.00916/0.7049, allocations: 4.964 MB / 0.7521 GB, free: 1.566 MB / 0.5606 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)