Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.0009411, allocations: 95.77 kB / 16.99 MB, free: 5.941 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.0009021/0.0009023, allocations: 182.6 kB / 17.87 MB, free: 5.609 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.46/1.46, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8.969 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 61.93 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004752/0.147, allocations: 4.066 MB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.151, allocations: 3.683 MB / 479.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1511, allocations: 4 kB / 479.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1514, allocations: 39.73 kB / 479.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.1528, allocations: 0.5685 MB / 479.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1532, allocations: 141.5 kB / 480 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.1536, allocations: 259.4 kB / 480.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/0.1537, allocations: 9.688 kB / 480.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1539, allocations: 143.6 kB / 480.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.154, allocations: 107.6 kB / 480.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1541, allocations: 8 kB / 480.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007247/0.1548, allocations: 303.7 kB / 480.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.1549, allocations: 43.86 kB / 480.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.155, allocations: 65.58 kB / 480.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.1554, allocations: 263.7 kB / 481.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1554, allocations: 0 / 481.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1554, allocations: 4 kB / 481.1 MB, free: 4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1554, allocations: 0 / 481.1 MB, free: 4 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008698/0.1563, allocations: 0.5343 MB / 481.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1563, allocations: 12.03 kB / 481.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.1565, allocations: 23.81 kB / 481.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1567, allocations: 230.7 kB / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.1569, allocations: 127.4 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1569, allocations: 20 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.1574, allocations: 315.6 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1574, allocations: 4 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.1574, allocations: 12 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1575, allocations: 11.98 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.1582, allocations: 0.7391 MB / 483.1 MB, free: 1.844 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.1595, allocations: 1.292 MB / 484.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.1598, allocations: 142.8 kB / 484.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002095/0.1619, allocations: 2.615 MB / 487.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.162, allocations: 34.5 kB / 487.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.162, allocations: 4 kB / 487.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006803/0.1627, allocations: 232.8 kB / 487.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1627, allocations: 59.34 kB / 487.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1629, allocations: 211.5 kB / 487.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1629, allocations: 29.7 kB / 487.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.163, allocations: 198.9 kB / 487.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.1631, allocations: 55.25 kB / 488 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.1631, allocations: 12 kB / 488 MB, free: 12.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1632, allocations: 334.8 kB / 488.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.1633, allocations: 48.84 kB / 488.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.1636, allocations: 312.3 kB / 488.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1637, allocations: 99.86 kB / 488.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1637, allocations: 7.938 kB / 488.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004983/0.1642, allocations: 369.7 kB / 489.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1643, allocations: 12 kB / 489.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1643, allocations: 8 kB / 489.2 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.1643, allocations: 16 kB / 489.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.1647, allocations: 111.8 kB / 489.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.1647, allocations: 15.94 kB / 489.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.1649, allocations: 19.94 kB / 489.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.165, allocations: 31.92 kB / 489.4 MB, free: 10.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.1651, allocations: 158.1 kB / 489.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.1652, allocations: 15.81 kB / 489.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.1655, allocations: 196.8 kB / 489.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.1656, allocations: 0 / 489.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1656, allocations: 0 / 489.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1656, allocations: 0 / 489.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.1661, allocations: 443.2 kB / 490.2 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1661, allocations: 4 kB / 490.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1663, allocations: 31.98 kB / 490.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1663, allocations: 0 / 490.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1663, allocations: 7.984 kB / 490.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1663, allocations: 4 kB / 490.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1663, allocations: 3.938 kB / 490.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1666, allocations: 233.4 kB / 490.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.1667, allocations: 112.8 kB / 490.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.1667, allocations: 4.125 kB / 490.6 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1669, allocations: 15.98 kB / 490.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.167, allocations: 11.95 kB / 490.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.167, allocations: 7.984 kB / 490.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1671, allocations: 148.5 kB / 490.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1671, allocations: 4 kB / 490.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.1676, allocations: 99.94 kB / 490.8 MB, free: 9.227 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002721/0.1679, allocations: 148.2 kB / 491 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.1682, allocations: 169.9 kB / 491.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1682, allocations: 8.125 kB / 491.2 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.1683, allocations: 39.91 kB / 491.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1687, allocations: 48.28 kB / 491.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.1695, allocations: 0.5153 MB / 491.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1698, allocations: 0.7365 MB / 492.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.1701, allocations: 62.77 kB / 492.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.1701, allocations: 23.44 kB / 492.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1701, allocations: 4 kB / 492.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of Templates: time 0.007019/0.1772, allocations: 3.156 MB / 495.7 MB, free: 4.289 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)