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.001244/0.001244, allocations: 108.4 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.001199/0.001199, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 60.91 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005302/0.1255, allocations: 4.718 MB / 0.665 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1281, allocations: 2.706 MB / 0.6676 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.1282, allocations: 0 / 0.6676 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.1285, allocations: 51.67 kB / 0.6677 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1287, allocations: 99.34 kB / 0.6678 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009923/0.1297, allocations: 0.5075 MB / 0.6683 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.13, allocations: 231.9 kB / 0.6685 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.13, allocations: 9.562 kB / 0.6685 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1302, allocations: 119.6 kB / 0.6686 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1303, allocations: 91.59 kB / 0.6687 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.1304, allocations: 8 kB / 0.6687 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.131, allocations: 375.3 kB / 0.6691 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.1311, allocations: 35.88 kB / 0.6691 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.1312, allocations: 83.59 kB / 0.6692 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.1317, allocations: 355.2 kB / 0.6695 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1317, allocations: 0 / 0.6695 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1317, allocations: 0 / 0.6695 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.1317, allocations: 0 / 0.6695 GB, free: 0.8359 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.0006465/0.1323, allocations: 0.507 MB / 0.67 GB, free: 284 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1324, allocations: 8.031 kB / 0.67 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.1325, allocations: 24.75 kB / 0.67 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1328, allocations: 208.1 kB / 0.6702 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.1328, allocations: 12.78 kB / 0.6702 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1329, allocations: 20.38 kB / 0.6703 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.1332, allocations: 240.2 kB / 0.6705 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1332, allocations: 7.922 kB / 0.6705 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.1333, allocations: 16 kB / 0.6705 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.1333, allocations: 7.984 kB / 0.6705 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.1338, allocations: 431.4 kB / 0.6709 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1348, allocations: 0.9525 MB / 0.6719 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.1351, allocations: 159.9 kB / 0.672 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.1352, allocations: 56.89 kB / 0.6721 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.1364, allocations: 1.829 MB / 0.6739 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1365, allocations: 34.56 kB / 0.6739 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.1365, allocations: 0 / 0.6739 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003059/0.1368, allocations: 145.4 kB / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.1368, allocations: 59.28 kB / 0.6741 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.137, allocations: 171.2 kB / 0.6743 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.137, allocations: 29.7 kB / 0.6743 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.1371, allocations: 151.7 kB / 0.6744 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1371, allocations: 55.2 kB / 0.6745 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.1372, allocations: 49.7 kB / 0.6745 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.1373, allocations: 326.8 kB / 0.6748 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.1374, allocations: 35.97 kB / 0.6749 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1375, allocations: 142.2 kB / 0.675 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.1377, allocations: 204.4 kB / 0.6752 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.1377, allocations: 4 kB / 0.6752 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002989/0.138, allocations: 213.3 kB / 0.6754 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.138, allocations: 8 kB / 0.6754 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.1381, allocations: 4 kB / 0.6754 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1381, allocations: 4 kB / 0.6754 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1382, allocations: 51.92 kB / 0.6755 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1383, allocations: 19.86 kB / 0.6755 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1384, allocations: 27.69 kB / 0.6755 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1384, allocations: 8 kB / 0.6755 GB, free: 9.938 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.0001157/0.1385, allocations: 149.9 kB / 0.6757 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1386, allocations: 15.81 kB / 0.6757 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.1389, allocations: 143.1 kB / 0.6758 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1389, allocations: 3.984 kB / 0.6758 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1389, allocations: 7.938 kB / 0.6758 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.139, allocations: 108.8 kB / 0.6759 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.139, allocations: 0 / 0.6759 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1392, allocations: 15.98 kB / 0.676 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.1392, allocations: 11.98 kB / 0.676 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002146/0.1395, allocations: 199.3 kB / 0.6762 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002416/0.1397, allocations: 290.5 kB / 0.6764 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.535e-05/0.1398, allocations: 51.83 kB / 0.6765 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.732e-05/0.1399, allocations: 120 kB / 0.6766 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of Backend: time 3.61e-07/0.1399, allocations: 3.938 kB / 0.6766 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007069/0.1406, allocations: 336.4 kB / 0.6769 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006873/0.1413, allocations: 0.7775 MB / 0.6777 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of Templates: time 0.007695/0.149, allocations: 4.712 MB / 0.6823 GB, free: 2.949 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)