Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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-master/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-master/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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 182.2 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-master/package.mo): time 0.7045/0.7045, allocations: 133.3 MB / 150.1 MB, free: 11.15 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.495/1.495, allocations: 222.9 MB / 404.7 MB, free: 6.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.001077/0.001077, allocations: 99.12 kB / 485.9 MB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009662/0.0009663, allocations: 55.91 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.142, allocations: 80.43 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005162/0.1472, allocations: 4.043 MB / 0.6461 GB, free: 1.348 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.1474, allocations: 167.5 kB / 0.6462 GB, free: 1.184 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.1475, allocations: 0 / 0.6462 GB, free: 1.184 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-05/0.1476, allocations: 3.938 kB / 0.6462 GB, free: 1.18 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.1477, allocations: 7.984 kB / 0.6462 GB, free: 1.172 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.148, allocations: 88.94 kB / 0.6463 GB, free: 1.086 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.1481, allocations: 59.81 kB / 0.6464 GB, free: 1.027 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.1481, allocations: 4 kB / 0.6464 GB, free: 1.023 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.1482, allocations: 11.98 kB / 0.6464 GB, free: 1.012 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.1482, allocations: 15.92 kB / 0.6464 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1483, allocations: 0 / 0.6464 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.1485, allocations: 75.78 kB / 0.6465 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.1485, allocations: 0 / 0.6465 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.1485, allocations: 19.91 kB / 0.6465 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1487, allocations: 51.89 kB / 0.6466 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1487, allocations: 4 kB / 0.6466 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1487, allocations: 0 / 0.6466 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1487, allocations: 0 / 0.6466 GB, free: 0.8477 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003819/0.1491, allocations: 331.8 kB / 0.6469 GB, free: 488 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1491, allocations: 8.031 kB / 0.6469 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1492, allocations: 8.922 kB / 0.6469 GB, free: 472 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.1493, allocations: 160.4 kB / 0.6471 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.1494, allocations: 26.27 kB / 0.6471 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.1494, allocations: 12.31 kB / 0.6471 GB, free: 228 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1495, allocations: 45.62 kB / 0.6471 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1495, allocations: 3.938 kB / 0.6471 GB, free: 172 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1495, allocations: 3.938 kB / 0.6471 GB, free: 168 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.1496, allocations: 7.984 kB / 0.6471 GB, free: 160 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.1496, allocations: 8 kB / 0.6472 GB, free: 152 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.15, allocations: 337.9 kB / 0.6475 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.1501, allocations: 22.58 kB / 0.6475 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.1501, allocations: 16.91 kB / 0.6475 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.1502, allocations: 81.11 kB / 0.6476 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1502, allocations: 38.5 kB / 0.6476 GB, free: 15.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1502, allocations: 0 / 0.6476 GB, free: 15.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.1504, allocations: 37.69 kB / 0.6477 GB, free: 15.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1504, allocations: 51.53 kB / 0.6477 GB, free: 15.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.1505, allocations: 101.9 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1505, allocations: 29.7 kB / 0.6478 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.1505, allocations: 91.97 kB / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.1505, allocations: 0 / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.1506, allocations: 17.72 kB / 0.6479 GB, free: 15.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.1507, allocations: 314.8 kB / 0.6482 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.1507, allocations: 4 kB / 0.6482 GB, free: 14.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.1508, allocations: 29.64 kB / 0.6483 GB, free: 14.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.894e-05/0.1508, allocations: 13.72 kB / 0.6483 GB, free: 14.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1508, allocations: 4 kB / 0.6483 GB, free: 14.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.814e-05/0.1509, allocations: 53.53 kB / 0.6483 GB, free: 14.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1509, allocations: 4 kB / 0.6483 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1509, allocations: 3.984 kB / 0.6484 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1509, allocations: 4 kB / 0.6484 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/0.151, allocations: 8.062 kB / 0.6484 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.151, allocations: 0 / 0.6484 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.151, allocations: 0 / 0.6484 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.151, allocations: 11.98 kB / 0.6484 GB, free: 14.71 MB / 458.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 (3): * Single equations (assignments): 3 * 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 6.665e-05/0.1511, allocations: 109.8 kB / 0.6485 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.1511, allocations: 4 kB / 0.6485 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.178e-05/0.1512, allocations: 113.2 kB / 0.6486 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/0.1513, allocations: 192.2 kB / 0.6488 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.686e-05/0.1513, allocations: 184.1 kB / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-05/0.1514, allocations: 180.2 kB / 0.6491 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1516, allocations: 409.2 kB / 0.6495 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.1516, allocations: 104.9 kB / 0.6496 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.1516, allocations: 108.9 kB / 0.6497 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.973e-05/0.1517, allocations: 184.2 kB / 0.6499 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.1517, allocations: 180.2 kB / 0.6501 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.254e-05/0.1518, allocations: 176.3 kB / 0.6502 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.567e-05/0.1518, allocations: 180.2 kB / 0.6504 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1521, allocations: 0.8532 MB / 0.6512 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.1522, allocations: 185.9 kB / 0.6514 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.1523, allocations: 180.2 kB / 0.6516 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1524, allocations: 108.9 kB / 0.6517 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.1525, allocations: 184.5 kB / 0.6519 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.1525, allocations: 109 kB / 0.652 GB, free: 10.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.1526, allocations: 87.28 kB / 0.6521 GB, free: 10.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1526, allocations: 0 / 0.6521 GB, free: 10.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.1529, allocations: 12 kB / 0.6521 GB, free: 10.67 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 (0): * Single equations (assignments): 0 * 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.0002487/0.1532, allocations: 202.4 kB / 0.6523 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.1532, allocations: 11.97 kB / 0.6523 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1532, allocations: 4 kB / 0.6523 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.1532, allocations: 4 kB / 0.6523 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1536, allocations: 0.5224 MB / 0.6528 GB, free: 9.918 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.1539, allocations: 187.7 kB / 0.653 GB, free: 9.703 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1541, allocations: 0.677 MB / 0.6536 GB, free: 9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.1541, allocations: 4 kB / 0.6536 GB, free: 8.996 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.1542, allocations: 11.44 kB / 0.6536 GB, free: 8.984 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1542, allocations: 0 / 0.6536 GB, free: 8.984 MB / 458.7 MB Notification: Performance of Templates: time 0.002448/0.1566, allocations: 0.6177 MB / 0.6542 GB, free: 8.371 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)