Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001233, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.247/0.247, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.000288, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 63.46 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005454/0.1502, allocations: 4.121 MB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.1547, allocations: 3.695 MB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1549, allocations: 7.938 kB / 489.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.1552, allocations: 39.78 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.1571, allocations: 0.5647 MB / 489.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.1575, allocations: 150.8 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.1581, allocations: 255.5 kB / 490.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.1582, allocations: 9.688 kB / 490.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.1584, allocations: 143.5 kB / 490.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1587, allocations: 111.6 kB / 490.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1587, allocations: 4 kB / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009355/0.1596, allocations: 307.7 kB / 490.8 MB, free: 12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.1597, allocations: 47.81 kB / 490.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.1598, allocations: 57.64 kB / 490.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.1603, allocations: 275.7 kB / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1603, allocations: 0 / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1603, allocations: 3.938 kB / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1603, allocations: 0 / 491.1 MB, free: 11.62 MB / 366.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.001068/0.1614, allocations: 0.5499 MB / 491.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1615, allocations: 8.031 kB / 491.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.1616, allocations: 31.7 kB / 491.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1619, allocations: 218.8 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.162, allocations: 119.4 kB / 492.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1621, allocations: 27.94 kB / 492.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.1626, allocations: 327.6 kB / 492.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1626, allocations: 0 / 492.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.1627, allocations: 15.98 kB / 492.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.1627, allocations: 8 kB / 492.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/0.1636, allocations: 0.739 MB / 493.2 MB, free: 9.445 MB / 366.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.001707/0.1653, allocations: 1.288 MB / 494.5 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1657, allocations: 154.8 kB / 494.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002475/0.1681, allocations: 2.604 MB / 497.2 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1682, allocations: 38.56 kB / 497.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1682, allocations: 0 / 497.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007294/0.1689, allocations: 235.3 kB / 497.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.169, allocations: 55.41 kB / 497.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1692, allocations: 207.5 kB / 497.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.1693, allocations: 29.7 kB / 497.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1695, allocations: 210.9 kB / 498 MB, free: 3.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.1695, allocations: 51.27 kB / 498 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.1695, allocations: 8 kB / 498 MB, free: 3.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1697, allocations: 330.8 kB / 498.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.1698, allocations: 48.84 kB / 498.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.1702, allocations: 312.1 kB / 498.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1704, allocations: 107.8 kB / 498.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1704, allocations: 4 kB / 498.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005639/0.1709, allocations: 369.3 kB / 499.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.171, allocations: 12 kB / 499.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.171, allocations: 8 kB / 499.2 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.036e-05/0.1711, allocations: 15.95 kB / 499.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.1714, allocations: 119.8 kB / 499.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.1715, allocations: 16.44 kB / 499.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.1717, allocations: 27.92 kB / 499.4 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1717, allocations: 24 kB / 499.4 MB, free: 2.422 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.0002066/0.172, allocations: 148.2 kB / 499.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.172, allocations: 23.75 kB / 499.6 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.1724, allocations: 184.8 kB / 499.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.1725, allocations: 7.953 kB / 499.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1725, allocations: 4 kB / 499.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.1725, allocations: 3.984 kB / 499.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.1731, allocations: 439.3 kB / 0.4885 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1731, allocations: 0 / 0.4885 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.1733, allocations: 35.92 kB / 0.4885 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.1733, allocations: 7.953 kB / 0.4885 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1733, allocations: 3.984 kB / 0.4885 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1733, allocations: 3.938 kB / 0.4885 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1734, allocations: 8.016 kB / 0.4885 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1736, allocations: 225 kB / 0.4887 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1738, allocations: 124.7 kB / 0.4889 GB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1738, allocations: 0 / 0.4889 GB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.174, allocations: 11.98 kB / 0.4889 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.174, allocations: 11.94 kB / 0.4889 GB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1741, allocations: 11.98 kB / 0.4889 GB, free: 1.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1742, allocations: 144.5 kB / 0.489 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1742, allocations: 0 / 0.489 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.1747, allocations: 99.94 kB / 0.4891 GB, free: 0.832 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.0002859/0.175, allocations: 148.8 kB / 0.4893 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.1754, allocations: 180.8 kB / 0.4894 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.1754, allocations: 4 kB / 0.4894 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.1754, allocations: 27.98 kB / 0.4895 GB, free: 484 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1758, allocations: 53.64 kB / 0.4895 GB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.1767, allocations: 0.5074 MB / 0.49 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.177, allocations: 0.7407 MB / 0.4907 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.1773, allocations: 66.77 kB / 0.4908 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.1774, allocations: 31.42 kB / 0.4908 GB, free: 15.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1774, allocations: 0 / 0.4908 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Templates: time 0.007077/0.1844, allocations: 3.207 MB / 0.494 GB, free: 11.84 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)