Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004286/0.004285, allocations: 347.1 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 4.013/4.013, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003601/0.003601, allocations: 214.3 kB / 397.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5004/0.5004, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006962/0.0006964, allocations: 20 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1319, allocations: 48.69 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.437/1.569, allocations: 363.6 MB / 0.9618 GB, free: 130.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.569, allocations: 77.69 kB / 0.9619 GB, free: 130.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06828/1.637, allocations: 18.8 MB / 0.9802 GB, free: 124.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.637, allocations: 0 / 0.9802 GB, free: 124.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/1.637, allocations: 4 kB / 0.9802 GB, free: 124.8 MB / 442.7 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.001411/1.639, allocations: 0.5659 MB / 0.9808 GB, free: 124.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.639, allocations: 8.031 kB / 0.9808 GB, free: 124.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/1.639, allocations: 37.42 kB / 0.9808 GB, free: 124.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/1.639, allocations: 226 kB / 0.981 GB, free: 123.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/1.64, allocations: 123.2 kB / 0.9812 GB, free: 123.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/1.64, allocations: 23.88 kB / 0.9812 GB, free: 123.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/1.64, allocations: 331.2 kB / 0.9815 GB, free: 123.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.64, allocations: 0 / 0.9815 GB, free: 123.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/1.641, allocations: 11 kB / 0.9815 GB, free: 123.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/1.641, allocations: 4 kB / 0.9815 GB, free: 123.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/1.642, allocations: 0.7456 MB / 0.9822 GB, free: 122.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/1.643, allocations: 1.173 MB / 0.9834 GB, free: 121.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/1.644, allocations: 161.9 kB / 0.9835 GB, free: 121.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/1.644, allocations: 85.34 kB / 0.9836 GB, free: 121.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002872/1.647, allocations: 2.814 MB / 0.9864 GB, free: 118.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.647, allocations: 38.12 kB / 0.9864 GB, free: 118.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/1.647, allocations: 7.938 kB / 0.9864 GB, free: 118.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003912/1.647, allocations: 119.6 kB / 0.9865 GB, free: 118.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/1.647, allocations: 55.36 kB / 0.9866 GB, free: 118.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/1.648, allocations: 218.4 kB / 0.9868 GB, free: 117.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.648, allocations: 25.7 kB / 0.9868 GB, free: 117.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.648, allocations: 222.9 kB / 0.987 GB, free: 117.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/1.648, allocations: 42.58 kB / 0.9871 GB, free: 117.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/1.648, allocations: 7.625 kB / 0.9871 GB, free: 117.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/1.648, allocations: 334.3 kB / 0.9874 GB, free: 117.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/1.648, allocations: 44.66 kB / 0.9874 GB, free: 117.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/1.648, allocations: 342.1 kB / 0.9878 GB, free: 116.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/1.648, allocations: 108.4 kB / 0.9879 GB, free: 116.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.648, allocations: 0 / 0.9879 GB, free: 116.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007376/1.649, allocations: 379.2 kB / 0.9882 GB, free: 116.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.649, allocations: 12.25 kB / 0.9882 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.649, allocations: 12 kB / 0.9882 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/1.649, allocations: 16 kB / 0.9883 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/1.65, allocations: 95.39 kB / 0.9884 GB, free: 116.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/1.65, allocations: 27.88 kB / 0.9884 GB, free: 116.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/1.65, allocations: 50.53 kB / 0.9884 GB, free: 116.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/1.65, allocations: 30.62 kB / 0.9885 GB, free: 116.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001471/1.65, allocations: 153.9 kB / 0.9886 GB, free: 116 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/1.65, allocations: 27.72 kB / 0.9886 GB, free: 116 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/1.651, allocations: 146.8 kB / 0.9888 GB, free: 115.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/1.651, allocations: 4 kB / 0.9888 GB, free: 115.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.651, allocations: 0 / 0.9888 GB, free: 115.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/1.651, allocations: 7.953 kB / 0.9888 GB, free: 115.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/1.651, allocations: 395 kB / 0.9892 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.651, allocations: 4 kB / 0.9892 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.652, allocations: 11.98 kB / 0.9892 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.652, allocations: 7.938 kB / 0.9892 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.652, allocations: 11.61 kB / 0.9892 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.652, allocations: 4 kB / 0.9892 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.652, allocations: 0 / 0.9892 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/1.652, allocations: 195.9 kB / 0.9894 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/1.652, allocations: 110.7 kB / 0.9895 GB, free: 115.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/1.652, allocations: 8 kB / 0.9895 GB, free: 115.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/1.652, allocations: 11.94 kB / 0.9895 GB, free: 115.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/1.652, allocations: 7.75 kB / 0.9895 GB, free: 115.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/1.652, allocations: 7.969 kB / 0.9895 GB, free: 115.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000193/1.653, allocations: 151 kB / 0.9897 GB, free: 114.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.653, allocations: 0 / 0.9897 GB, free: 114.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007287/1.653, allocations: 95.36 kB / 0.9898 GB, free: 114.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002836/1.654, allocations: 169.1 kB / 0.9899 GB, free: 114.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003812/1.654, allocations: 164 kB / 0.9901 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.654, allocations: 4.062 kB / 0.9901 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/1.654, allocations: 23.62 kB / 0.9901 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/1.655, allocations: 38.91 kB / 0.9901 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.666, allocations: 3.928 MB / 0.994 GB, free: 111.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/1.666, allocations: 0.7287 MB / 0.9947 GB, free: 110.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000422/1.666, allocations: 50.84 kB / 0.9947 GB, free: 110.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/1.667, allocations: 30.75 kB / 0.9948 GB, free: 110.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/1.667, allocations: 0 / 0.9948 GB, free: 110.6 MB / 442.7 MB Notification: Performance of Templates: time 0.01023/1.677, allocations: 2.814 MB / 0.9975 GB, free: 107.8 MB / 442.7 MB