Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002843/0.002848, allocations: 361.3 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.332/4.332, allocations: 388.9 MB / 405.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003618/0.003617, allocations: 234.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5565/0.5565, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.000506, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.365, allocations: 370 MB / 1.041 GB, free: 52.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.365, allocations: 72.53 kB / 1.041 GB, free: 52.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06707/1.432, allocations: 18.8 MB / 1.06 GB, free: 37.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.508e-06/1.433, allocations: 0 / 1.06 GB, free: 37.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/1.433, allocations: 7.938 kB / 1.06 GB, free: 37.2 MB / 490.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.001367/1.434, allocations: 0.5714 MB / 1.06 GB, free: 36.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.434, allocations: 8.031 kB / 1.06 GB, free: 36.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/1.434, allocations: 35.66 kB / 1.06 GB, free: 36.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/1.435, allocations: 221.2 kB / 1.061 GB, free: 36.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/1.435, allocations: 122.4 kB / 1.061 GB, free: 36.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/1.435, allocations: 19.31 kB / 1.061 GB, free: 36.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/1.435, allocations: 331.8 kB / 1.061 GB, free: 35.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.436, allocations: 0 / 1.061 GB, free: 35.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/1.436, allocations: 11.31 kB / 1.061 GB, free: 35.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/1.436, allocations: 11.95 kB / 1.061 GB, free: 35.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/1.437, allocations: 0.7417 MB / 1.062 GB, free: 35.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/1.438, allocations: 1.171 MB / 1.063 GB, free: 34.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/1.439, allocations: 162.2 kB / 1.063 GB, free: 34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/1.439, allocations: 82.05 kB / 1.063 GB, free: 33.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002884/1.442, allocations: 2.821 MB / 1.066 GB, free: 30.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/1.442, allocations: 38.56 kB / 1.066 GB, free: 30.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 2.374e-06/1.442, allocations: 0 / 1.066 GB, free: 30.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003611/1.442, allocations: 111.1 kB / 1.066 GB, free: 30.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.442, allocations: 55.34 kB / 1.066 GB, free: 30.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/1.443, allocations: 223.8 kB / 1.066 GB, free: 30.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.443, allocations: 25.7 kB / 1.066 GB, free: 30.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.443, allocations: 216.8 kB / 1.067 GB, free: 30.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/1.443, allocations: 50.19 kB / 1.067 GB, free: 30 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/1.443, allocations: 10.69 kB / 1.067 GB, free: 30 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/1.443, allocations: 330 kB / 1.067 GB, free: 29.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.443, allocations: 47.78 kB / 1.067 GB, free: 29.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/1.443, allocations: 338 kB / 1.067 GB, free: 29.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/1.444, allocations: 97.61 kB / 1.067 GB, free: 29.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.444, allocations: 4 kB / 1.067 GB, free: 29.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008131/1.444, allocations: 383.7 kB / 1.068 GB, free: 28.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.444, allocations: 8 kB / 1.068 GB, free: 28.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.444, allocations: 12 kB / 1.068 GB, free: 28.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/1.445, allocations: 12 kB / 1.068 GB, free: 28.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/1.445, allocations: 107.3 kB / 1.068 GB, free: 28.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/1.445, allocations: 19.92 kB / 1.068 GB, free: 28.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/1.445, allocations: 50.97 kB / 1.068 GB, free: 28.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.446, allocations: 27.81 kB / 1.068 GB, free: 28.56 MB / 490.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.0001819/1.446, allocations: 156.8 kB / 1.068 GB, free: 28.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/1.446, allocations: 27.67 kB / 1.068 GB, free: 28.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/1.446, allocations: 146.5 kB / 1.068 GB, free: 28.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.446, allocations: 4 kB / 1.068 GB, free: 28.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.446, allocations: 0 / 1.068 GB, free: 28.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.446, allocations: 0 / 1.068 GB, free: 28.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/1.447, allocations: 410.2 kB / 1.069 GB, free: 27.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.447, allocations: 4.094 kB / 1.069 GB, free: 27.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/1.447, allocations: 16.67 kB / 1.069 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.447, allocations: 0 / 1.069 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/1.447, allocations: 5.062 kB / 1.069 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.447, allocations: 0 / 1.069 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.447, allocations: 7.922 kB / 1.069 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/1.447, allocations: 210.4 kB / 1.069 GB, free: 27.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/1.447, allocations: 112.5 kB / 1.069 GB, free: 27.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/1.447, allocations: 0.75 kB / 1.069 GB, free: 27.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/1.448, allocations: 9.672 kB / 1.069 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/1.448, allocations: 4.625 kB / 1.069 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/1.448, allocations: 8.594 kB / 1.069 GB, free: 27.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001496/1.448, allocations: 152 kB / 1.069 GB, free: 27.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.704e-06/1.448, allocations: 4 kB / 1.069 GB, free: 27.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006783/1.449, allocations: 106.5 kB / 1.069 GB, free: 27.2 MB / 490.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.0002659/1.449, allocations: 150.8 kB / 1.069 GB, free: 27.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/1.449, allocations: 170.9 kB / 1.07 GB, free: 26.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.449, allocations: 0 / 1.07 GB, free: 26.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/1.449, allocations: 19.94 kB / 1.07 GB, free: 26.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/1.45, allocations: 42.98 kB / 1.07 GB, free: 26.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.461, allocations: 3.934 MB / 1.074 GB, free: 23.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/1.461, allocations: 0.7248 MB / 1.074 GB, free: 22.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/1.462, allocations: 58.77 kB / 1.074 GB, free: 22.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/1.462, allocations: 27.44 kB / 1.074 GB, free: 22.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/1.462, allocations: 0 / 1.074 GB, free: 22.62 MB / 490.7 MB Notification: Performance of Templates: time 0.008675/1.471, allocations: 2.815 MB / 1.077 GB, free: 19.82 MB / 490.7 MB