Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001247/0.001247, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001401/0.001401, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9418/0.9418, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 60.09 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1748, allocations: 80.92 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002924/0.1778, allocations: 1.931 MB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4579/0.6357, allocations: 153.1 MB / 0.7351 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.636, allocations: 1.875 kB / 0.7351 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.6362, allocations: 26.25 kB / 0.7352 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.6366, allocations: 57.52 kB / 0.7352 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/0.6375, allocations: 223.8 kB / 0.7354 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.6379, allocations: 246 kB / 0.7357 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.6381, allocations: 73.91 kB / 0.7357 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.6403, allocations: 214.2 kB / 0.7359 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.6406, allocations: 89.98 kB / 0.736 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.6406, allocations: 10.03 kB / 0.736 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.6412, allocations: 176.4 kB / 0.7362 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.6414, allocations: 37.83 kB / 0.7362 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.6415, allocations: 85.25 kB / 0.7363 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.6423, allocations: 275.4 kB / 0.7366 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.6423, allocations: 0 / 0.7366 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6423, allocations: 3.938 kB / 0.7366 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.6423, allocations: 0 / 0.7366 GB, free: 12.28 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.001518/0.6439, allocations: 0.5112 MB / 0.7371 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.6439, allocations: 8.938 kB / 0.7371 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.645, allocations: 84.89 kB / 0.7372 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.6454, allocations: 223.2 kB / 0.7374 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.6455, allocations: 41.94 kB / 0.7374 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.6456, allocations: 17.94 kB / 0.7374 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.6462, allocations: 259.3 kB / 0.7377 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6462, allocations: 0 / 0.7377 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.6463, allocations: 9.656 kB / 0.7377 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6463, allocations: 7.219 kB / 0.7377 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.6468, allocations: 171.9 kB / 0.7379 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.6486, allocations: 1.173 MB / 0.739 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.6495, allocations: 206 kB / 0.7392 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.6497, allocations: 81.83 kB / 0.7393 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.6497, allocations: 2.094 kB / 0.7393 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.6498, allocations: 34.27 kB / 0.7393 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.6498, allocations: 0 / 0.7393 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002843/0.6526, allocations: 0.6234 MB / 0.7399 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.6527, allocations: 54.31 kB / 0.74 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.653, allocations: 198.9 kB / 0.7402 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.653, allocations: 29.7 kB / 0.7402 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.6531, allocations: 142.7 kB / 0.7403 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.6532, allocations: 42.73 kB / 0.7404 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6533, allocations: 44.88 kB / 0.7404 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6535, allocations: 329.7 kB / 0.7407 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.6537, allocations: 72.75 kB / 0.7408 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.654, allocations: 132 kB / 0.7409 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.6544, allocations: 203 kB / 0.7411 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6544, allocations: 0 / 0.7411 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001485/0.6559, allocations: 380.3 kB / 0.7415 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.656, allocations: 5.469 kB / 0.7415 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.656, allocations: 2.312 kB / 0.7415 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.6571, allocations: 158.3 kB / 0.7416 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.6574, allocations: 42.41 kB / 0.7417 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005021/0.6624, allocations: 3.028 MB / 0.7446 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.6629, allocations: 34.94 kB / 0.7447 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.6629, allocations: 10.94 kB / 0.7447 GB, free: 5.488 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.0002023/0.6631, allocations: 134.6 kB / 0.7448 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.6632, allocations: 16.06 kB / 0.7448 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.6646, allocations: 368 kB / 0.7452 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6646, allocations: 1.375 kB / 0.7452 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6646, allocations: 1.375 kB / 0.7452 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6646, allocations: 3.938 kB / 0.7452 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.665, allocations: 277.8 kB / 0.7454 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6651, allocations: 6.25 kB / 0.7455 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.6652, allocations: 27.05 kB / 0.7455 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.6662, allocations: 157 kB / 0.7456 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.6663, allocations: 9.469 kB / 0.7456 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.6705, allocations: 3.071 MB / 0.7486 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6705, allocations: 3.984 kB / 0.7486 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.6719, allocations: 431 kB / 0.7491 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.672, allocations: 106.3 kB / 0.7492 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.6721, allocations: 7.938 kB / 0.7492 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.6724, allocations: 22.16 kB / 0.7492 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.6725, allocations: 11.73 kB / 0.7492 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.6725, allocations: 13.05 kB / 0.7492 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001833/0.6727, allocations: 142.3 kB / 0.7493 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6727, allocations: 0 / 0.7493 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004731/0.6732, allocations: 81.69 kB / 0.7494 GB, free: 1.184 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.0002672/0.6734, allocations: 112.4 kB / 0.7495 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.6746, allocations: 439.8 kB / 0.7499 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6746, allocations: 2.781 kB / 0.7499 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.6753, allocations: 353.7 kB / 0.7503 GB, free: 480 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.6758, allocations: 51.97 kB / 0.7503 GB, free: 452 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.6768, allocations: 479.2 kB / 0.7508 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.6772, allocations: 0.7307 MB / 0.7515 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000276/0.6775, allocations: 33.38 kB / 0.7515 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.6776, allocations: 17.66 kB / 0.7516 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.6776, allocations: 4 kB / 0.7516 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.01021/0.6878, allocations: 4.966 MB / 0.7564 GB, free: 11.68 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)