Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 110.5 kB / 16.41 MB, free: 6.441 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.001018/0.001018, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8304/0.8304, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 66.61 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 80.2 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005736/0.1374, allocations: 4.437 MB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1401, allocations: 2.687 MB / 0.6673 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1402, allocations: 0 / 0.6673 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1405, allocations: 43.69 kB / 0.6674 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.1407, allocations: 103.3 kB / 0.6675 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1419, allocations: 493 kB / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.1422, allocations: 239.9 kB / 0.6682 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1422, allocations: 9.562 kB / 0.6682 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008833/0.1431, allocations: 410.8 kB / 0.6686 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1433, allocations: 91.61 kB / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1433, allocations: 4 kB / 0.6687 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.1443, allocations: 0.4951 MB / 0.6691 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.907e-05/0.1443, allocations: 35.89 kB / 0.6692 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.1444, allocations: 75.66 kB / 0.6692 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.1451, allocations: 355.1 kB / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1451, allocations: 0 / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1451, allocations: 0 / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1451, allocations: 0 / 0.6696 GB, free: 0.7422 MB / 0.4981 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.0007253/0.1458, allocations: 0.4992 MB / 0.6701 GB, free: 196 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1459, allocations: 12.03 kB / 0.6701 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.146, allocations: 24.73 kB / 0.6701 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1463, allocations: 208.1 kB / 0.6703 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1464, allocations: 16.7 kB / 0.6703 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1464, allocations: 12.38 kB / 0.6703 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.1467, allocations: 253 kB / 0.6706 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1468, allocations: 0 / 0.6706 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1468, allocations: 12 kB / 0.6706 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.1468, allocations: 7.984 kB / 0.6706 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.1473, allocations: 431.5 kB / 0.671 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1483, allocations: 1.004 MB / 0.672 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1486, allocations: 159 kB / 0.6721 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1487, allocations: 68.81 kB / 0.6722 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.1501, allocations: 1.825 MB / 0.674 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1501, allocations: 34.56 kB / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.1501, allocations: 0 / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003364/0.1505, allocations: 156 kB / 0.6742 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1505, allocations: 59.28 kB / 0.6742 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1507, allocations: 183.2 kB / 0.6744 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1507, allocations: 25.7 kB / 0.6744 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.1508, allocations: 139.8 kB / 0.6746 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1508, allocations: 47.36 kB / 0.6746 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.1509, allocations: 61.59 kB / 0.6747 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.151, allocations: 318.8 kB / 0.675 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.1511, allocations: 39.97 kB / 0.675 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1512, allocations: 150.1 kB / 0.6751 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1514, allocations: 193.5 kB / 0.6753 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1514, allocations: 0 / 0.6753 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003144/0.1517, allocations: 217.5 kB / 0.6755 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1518, allocations: 8 kB / 0.6755 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1518, allocations: 4 kB / 0.6755 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1518, allocations: 4 kB / 0.6755 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.152, allocations: 59.78 kB / 0.6756 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.152, allocations: 11.98 kB / 0.6756 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1521, allocations: 23.75 kB / 0.6756 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.1521, allocations: 12 kB / 0.6757 GB, free: 9.777 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.547e-05/0.1522, allocations: 137.8 kB / 0.6758 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.1523, allocations: 15.91 kB / 0.6758 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.1526, allocations: 168.7 kB / 0.676 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.1526, allocations: 7.938 kB / 0.676 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1526, allocations: 0 / 0.676 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1526, allocations: 0 / 0.676 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1529, allocations: 213.6 kB / 0.6762 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1529, allocations: 0 / 0.6762 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.153, allocations: 24 kB / 0.6762 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.153, allocations: 3.984 kB / 0.6762 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.153, allocations: 0 / 0.6762 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.153, allocations: 11.94 kB / 0.6762 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.153, allocations: 0 / 0.6762 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1533, allocations: 219.2 kB / 0.6764 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.1534, allocations: 108.8 kB / 0.6765 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1534, allocations: 4 kB / 0.6765 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1536, allocations: 19.91 kB / 0.6765 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1536, allocations: 12 kB / 0.6766 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1536, allocations: 11.98 kB / 0.6766 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.064e-05/0.1537, allocations: 120.9 kB / 0.6767 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1538, allocations: 0 / 0.6767 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003808/0.1541, allocations: 79.98 kB / 0.6768 GB, free: 8.555 MB / 0.5137 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003018/0.1544, allocations: 179.1 kB / 0.6769 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1547, allocations: 118.4 kB / 0.677 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1547, allocations: 0 / 0.677 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.1548, allocations: 47.86 kB / 0.6771 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1552, allocations: 58.72 kB / 0.6771 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.1559, allocations: 364.7 kB / 0.6775 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1561, allocations: 0.7129 MB / 0.6782 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.1562, allocations: 31.42 kB / 0.6782 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1562, allocations: 0 / 0.6782 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.005209/0.1614, allocations: 3.15 MB / 0.6813 GB, free: 3.871 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)