Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 113.5 kB / 16.42 MB, free: 6.465 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.00111/0.00111, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7799/0.7799, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.66 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006082/0.1305, allocations: 4.719 MB / 0.665 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1334, allocations: 2.698 MB / 0.6676 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1335, allocations: 11.94 kB / 0.6676 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1338, allocations: 43.73 kB / 0.6677 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1341, allocations: 99.36 kB / 0.6678 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1353, allocations: 0.5126 MB / 0.6683 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1356, allocations: 235.9 kB / 0.6685 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1356, allocations: 13.55 kB / 0.6685 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1358, allocations: 119.5 kB / 0.6686 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.136, allocations: 83.67 kB / 0.6687 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.136, allocations: 8 kB / 0.6687 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.1367, allocations: 371.3 kB / 0.6691 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1367, allocations: 35.89 kB / 0.6691 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.1368, allocations: 87.58 kB / 0.6692 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.1374, allocations: 362.8 kB / 0.6695 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1374, allocations: 0 / 0.6695 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1374, allocations: 0 / 0.6695 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1374, allocations: 0 / 0.6695 GB, free: 0.8086 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.0006738/0.1381, allocations: 0.5064 MB / 0.67 GB, free: 256 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1381, allocations: 8.031 kB / 0.67 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1383, allocations: 28.83 kB / 0.6701 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1386, allocations: 208.2 kB / 0.6703 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1386, allocations: 16.7 kB / 0.6703 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1386, allocations: 16.38 kB / 0.6703 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.139, allocations: 248.1 kB / 0.6705 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.139, allocations: 4 kB / 0.6705 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.139, allocations: 12 kB / 0.6705 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.1391, allocations: 8 kB / 0.6705 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.1395, allocations: 427.5 kB / 0.671 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1406, allocations: 0.9527 MB / 0.6719 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1409, allocations: 163.9 kB / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.141, allocations: 68.81 kB / 0.6721 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.1423, allocations: 1.809 MB / 0.6739 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1423, allocations: 46.5 kB / 0.6739 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1423, allocations: 0 / 0.6739 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003307/0.1426, allocations: 149.4 kB / 0.6741 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.1427, allocations: 59.34 kB / 0.6741 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1428, allocations: 175.2 kB / 0.6743 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1429, allocations: 33.7 kB / 0.6743 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.1429, allocations: 140.1 kB / 0.6745 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.143, allocations: 51.58 kB / 0.6745 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.1431, allocations: 53.66 kB / 0.6746 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1432, allocations: 330.8 kB / 0.6749 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.1432, allocations: 27.98 kB / 0.6749 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1434, allocations: 150.1 kB / 0.675 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1436, allocations: 201.5 kB / 0.6752 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1436, allocations: 0 / 0.6752 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003155/0.144, allocations: 212 kB / 0.6754 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.144, allocations: 4 kB / 0.6754 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.144, allocations: 8 kB / 0.6754 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.144, allocations: 8 kB / 0.6754 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1442, allocations: 55.91 kB / 0.6755 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1442, allocations: 11.88 kB / 0.6755 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1443, allocations: 27.78 kB / 0.6755 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1444, allocations: 15.98 kB / 0.6756 GB, free: 9.898 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 0.0001041/0.1445, allocations: 141.6 kB / 0.6757 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.1445, allocations: 19.89 kB / 0.6757 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.1448, allocations: 155.1 kB / 0.6759 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1448, allocations: 3.938 kB / 0.6759 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1448, allocations: 3.938 kB / 0.6759 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.1449, allocations: 109 kB / 0.676 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.145, allocations: 4 kB / 0.676 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1452, allocations: 15.98 kB / 0.676 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.1452, allocations: 7.984 kB / 0.676 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002262/0.1454, allocations: 190.8 kB / 0.6762 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002592/0.1457, allocations: 314.4 kB / 0.6765 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.246e-05/0.1458, allocations: 38.38 kB / 0.6765 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.67e-05/0.1458, allocations: 123.9 kB / 0.6766 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of Backend: time 3.7e-07/0.1459, allocations: 0 / 0.6766 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007567/0.1466, allocations: 326.5 kB / 0.6769 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007076/0.1473, allocations: 0.7846 MB / 0.6777 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of Templates: time 0.008039/0.1554, allocations: 4.711 MB / 0.6823 GB, free: 2.906 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)