Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 181.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6918/0.6918, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.0009909, allocations: 113.5 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009817/0.0009817, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1504, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002817/0.1532, allocations: 1.709 MB / 0.6418 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.1539, allocations: 418.7 kB / 0.6422 GB, free: 4.648 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.154, allocations: 4 kB / 0.6422 GB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1541, allocations: 3.938 kB / 0.6422 GB, free: 4.641 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.1542, allocations: 27.78 kB / 0.6423 GB, free: 4.613 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1546, allocations: 105.3 kB / 0.6424 GB, free: 4.512 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1547, allocations: 103.6 kB / 0.6425 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1549, allocations: 47.95 kB / 0.6425 GB, free: 4.363 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.1549, allocations: 39.86 kB / 0.6426 GB, free: 4.324 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.155, allocations: 35.84 kB / 0.6426 GB, free: 4.289 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.155, allocations: 4 kB / 0.6426 GB, free: 4.285 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1552, allocations: 55.95 kB / 0.6426 GB, free: 4.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.1552, allocations: 27.83 kB / 0.6427 GB, free: 4.203 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1553, allocations: 47.73 kB / 0.6427 GB, free: 4.156 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1555, allocations: 116 kB / 0.6428 GB, free: 4.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1555, allocations: 0 / 0.6428 GB, free: 4.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1555, allocations: 0 / 0.6428 GB, free: 4.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1555, allocations: 4 kB / 0.6428 GB, free: 4.039 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006158/0.1561, allocations: 436.8 kB / 0.6432 GB, free: 3.562 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1562, allocations: 8.031 kB / 0.6433 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.1564, allocations: 28.81 kB / 0.6433 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.1566, allocations: 196.1 kB / 0.6435 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.1567, allocations: 34.27 kB / 0.6435 GB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1567, allocations: 12.38 kB / 0.6435 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.157, allocations: 102.1 kB / 0.6436 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.157, allocations: 3.938 kB / 0.6436 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.157, allocations: 4 kB / 0.6436 GB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.157, allocations: 4 kB / 0.6436 GB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1573, allocations: 75.92 kB / 0.6437 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.1579, allocations: 388.4 kB / 0.6441 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.1584, allocations: 134.6 kB / 0.6442 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1586, allocations: 36.84 kB / 0.6442 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1586, allocations: 4 kB / 0.6442 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.1586, allocations: 34.55 kB / 0.6443 GB, free: 2.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1586, allocations: 0 / 0.6443 GB, free: 2.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004024/0.159, allocations: 133.6 kB / 0.6444 GB, free: 2.262 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1591, allocations: 59.41 kB / 0.6445 GB, free: 2.191 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1592, allocations: 139.8 kB / 0.6446 GB, free: 2.047 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1593, allocations: 25.7 kB / 0.6446 GB, free: 2.016 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1593, allocations: 100 kB / 0.6447 GB, free: 1.914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1594, allocations: 23.66 kB / 0.6447 GB, free: 1.891 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1594, allocations: 21.7 kB / 0.6447 GB, free: 1.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1595, allocations: 322.8 kB / 0.6451 GB, free: 1.539 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1596, allocations: 27.98 kB / 0.6451 GB, free: 1.512 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1597, allocations: 49.83 kB / 0.6451 GB, free: 1.457 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.1599, allocations: 73.69 kB / 0.6452 GB, free: 1.379 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.16, allocations: 0 / 0.6452 GB, free: 1.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002494/0.1602, allocations: 114 kB / 0.6453 GB, free: 1.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1602, allocations: 8 kB / 0.6453 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1602, allocations: 0 / 0.6453 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1603, allocations: 3.984 kB / 0.6453 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1604, allocations: 31.92 kB / 0.6454 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1604, allocations: 3.938 kB / 0.6454 GB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.1605, allocations: 11.89 kB / 0.6454 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1605, allocations: 15.91 kB / 0.6454 GB, free: 1.188 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/0.1606, allocations: 119.1 kB / 0.6455 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.1606, allocations: 7.906 kB / 0.6455 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1607, allocations: 12.72 kB / 0.6455 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1607, allocations: 3.938 kB / 0.6455 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1607, allocations: 0 / 0.6455 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1607, allocations: 4 kB / 0.6455 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.1609, allocations: 197.6 kB / 0.6457 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1609, allocations: 0 / 0.6457 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.161, allocations: 19.98 kB / 0.6457 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.161, allocations: 0 / 0.6457 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.161, allocations: 8 kB / 0.6457 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.161, allocations: 4.016 kB / 0.6457 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.161, allocations: 3.984 kB / 0.6457 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.1617, allocations: 0.7902 MB / 0.6465 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.1617, allocations: 81.02 kB / 0.6466 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1618, allocations: 4 kB / 0.6466 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1619, allocations: 11.98 kB / 0.6466 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.162, allocations: 11.92 kB / 0.6466 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.162, allocations: 0 / 0.6466 GB, free: 15.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.948e-05/0.162, allocations: 108.5 kB / 0.6467 GB, free: 15.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 0 / 0.6467 GB, free: 15.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.1624, allocations: 24 kB / 0.6467 GB, free: 15.65 MB / 458.7 MB 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001019/0.1625, allocations: 100.6 kB / 0.6468 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.1627, allocations: 67.95 kB / 0.6469 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1628, allocations: 0 / 0.6469 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.1629, allocations: 43.91 kB / 0.6469 GB, free: 15.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.1633, allocations: 27.98 kB / 0.647 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.1638, allocations: 355.5 kB / 0.6473 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1641, allocations: 0.6965 MB / 0.648 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.586e-05/0.1642, allocations: 12.67 kB / 0.648 GB, free: 14.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.1642, allocations: 11.44 kB / 0.648 GB, free: 14.27 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1642, allocations: 0 / 0.648 GB, free: 14.27 MB / 458.7 MB Notification: Performance of Templates: time 0.003401/0.1677, allocations: 1.365 MB / 0.6494 GB, free: 12.93 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)