Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001046/0.001046, allocations: 109.8 kB / 16.41 MB, free: 6.512 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.000995/0.000995, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7486/0.7486, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 57.56 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1242, allocations: 80.92 MB / 0.6653 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005221/0.1295, allocations: 4.723 MB / 0.67 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002539/0.132, allocations: 2.698 MB / 0.6726 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.1321, allocations: 4 kB / 0.6726 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1323, allocations: 47.67 kB / 0.6726 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1326, allocations: 103.3 kB / 0.6727 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009435/0.1335, allocations: 0.5013 MB / 0.6732 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1337, allocations: 239.9 kB / 0.6735 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.1338, allocations: 13.56 kB / 0.6735 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.134, allocations: 111.6 kB / 0.6736 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1341, allocations: 95.59 kB / 0.6737 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1341, allocations: 8 kB / 0.6737 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.1347, allocations: 363.3 kB / 0.674 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.1347, allocations: 39.89 kB / 0.6741 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.1348, allocations: 87.58 kB / 0.6741 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.1353, allocations: 354.8 kB / 0.6745 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1353, allocations: 0 / 0.6745 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1353, allocations: 7.938 kB / 0.6745 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.1353, allocations: 0 / 0.6745 GB, free: 12.32 MB / 0.5137 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.0006553/0.136, allocations: 0.5103 MB / 0.675 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.136, allocations: 9.109 kB / 0.675 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1362, allocations: 20.84 kB / 0.675 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1364, allocations: 216.2 kB / 0.6752 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1364, allocations: 8.703 kB / 0.6752 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1364, allocations: 16.38 kB / 0.6752 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.1368, allocations: 248.2 kB / 0.6755 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1368, allocations: 0 / 0.6755 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1368, allocations: 11.98 kB / 0.6755 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.1369, allocations: 8 kB / 0.6755 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.1373, allocations: 427.5 kB / 0.6759 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1383, allocations: 0.9527 MB / 0.6768 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1386, allocations: 166 kB / 0.677 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/0.1387, allocations: 60.89 kB / 0.6771 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.1399, allocations: 1.837 MB / 0.6788 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1399, allocations: 34.56 kB / 0.6789 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.1399, allocations: 0 / 0.6789 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003013/0.1403, allocations: 152.8 kB / 0.679 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.1403, allocations: 59.34 kB / 0.6791 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1404, allocations: 168.2 kB / 0.6792 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1405, allocations: 33.7 kB / 0.6793 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.1405, allocations: 156 kB / 0.6794 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.1406, allocations: 43.59 kB / 0.6795 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.1407, allocations: 57.66 kB / 0.6795 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.1408, allocations: 322.8 kB / 0.6798 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.1408, allocations: 35.98 kB / 0.6799 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.141, allocations: 141.6 kB / 0.68 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1412, allocations: 201.5 kB / 0.6802 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1412, allocations: 4 kB / 0.6802 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003034/0.1415, allocations: 213.2 kB / 0.6804 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1415, allocations: 4 kB / 0.6804 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1415, allocations: 4.469 kB / 0.6804 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1415, allocations: 12 kB / 0.6804 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1417, allocations: 47.92 kB / 0.6805 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.1417, allocations: 15.86 kB / 0.6805 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1418, allocations: 27.78 kB / 0.6805 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1419, allocations: 19.98 kB / 0.6805 GB, free: 5.402 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.49e-05/0.142, allocations: 133.7 kB / 0.6807 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.142, allocations: 15.91 kB / 0.6807 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.1423, allocations: 157.8 kB / 0.6808 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1423, allocations: 7.984 kB / 0.6808 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1423, allocations: 7.875 kB / 0.6808 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.1424, allocations: 105 kB / 0.6809 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1424, allocations: 8 kB / 0.6809 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.1427, allocations: 11.98 kB / 0.681 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.1427, allocations: 11.98 kB / 0.681 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002155/0.1429, allocations: 188.9 kB / 0.6811 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002469/0.1432, allocations: 306.5 kB / 0.6814 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.392e-05/0.1432, allocations: 42.62 kB / 0.6815 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.912e-05/0.1433, allocations: 120 kB / 0.6816 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of Backend: time 4.01e-07/0.1433, allocations: 0 / 0.6816 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.144, allocations: 337.6 kB / 0.6819 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006723/0.1447, allocations: 0.7854 MB / 0.6827 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.007586/0.1523, allocations: 4.707 MB / 0.6873 GB, free: 14.41 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)