Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002684/0.00269, allocations: 347 kB / 15.94 MB, free: 6.207 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 3.583/3.583, 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.003617/0.003617, allocations: 218.1 kB / 397.9 MB, free: 4.969 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.5128/0.5128, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004646, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09488, allocations: 48.69 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.469/1.564, allocations: 408.5 MB / 1.006 GB, free: 96.06 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.565, allocations: 97.44 kB / 1.006 GB, free: 96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7594/2.324, allocations: 117.3 MB / 1.12 GB, free: 106.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/2.324, allocations: 1.375 kB / 1.12 GB, free: 106.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.474e-05/2.324, allocations: 17.5 kB / 1.12 GB, free: 106.7 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003422/2.328, allocations: 1.047 MB / 1.121 GB, free: 106.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/2.328, allocations: 11.33 kB / 1.121 GB, free: 106.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/2.329, allocations: 91.3 kB / 1.121 GB, free: 106.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/2.33, allocations: 0.5499 MB / 1.122 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/2.331, allocations: 102.8 kB / 1.122 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/2.331, allocations: 50.61 kB / 1.122 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/2.333, allocations: 0.8087 MB / 1.123 GB, free: 105.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/2.333, allocations: 4.688 kB / 1.123 GB, free: 105.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/2.333, allocations: 23.12 kB / 1.123 GB, free: 105.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.404e-05/2.333, allocations: 41.11 kB / 1.123 GB, free: 105.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/2.335, allocations: 0.6382 MB / 1.124 GB, free: 105.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/2.342, allocations: 3.883 MB / 1.127 GB, free: 103.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/2.343, allocations: 395.4 kB / 1.128 GB, free: 103.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/2.343, allocations: 198.8 kB / 1.128 GB, free: 103.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/2.344, allocations: 0.5002 MB / 1.128 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/2.344, allocations: 37.39 kB / 1.128 GB, free: 102.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 4.188e-06/2.344, allocations: 6.125 kB / 1.128 GB, free: 102.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004683/2.349, allocations: 1.49 MB / 1.13 GB, free: 102.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/2.349, allocations: 131 kB / 1.13 GB, free: 101.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/2.35, allocations: 0.5521 MB / 1.131 GB, free: 101.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/2.35, allocations: 38.11 kB / 1.131 GB, free: 101.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/2.35, allocations: 365.7 kB / 1.131 GB, free: 101.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/2.35, allocations: 164.5 kB / 1.131 GB, free: 101.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/2.35, allocations: 13 kB / 1.131 GB, free: 101.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/2.35, allocations: 373.5 kB / 1.132 GB, free: 101.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/2.351, allocations: 221.1 kB / 1.132 GB, free: 101.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/2.352, allocations: 0.5375 MB / 1.132 GB, free: 100.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/2.353, allocations: 314 kB / 1.133 GB, free: 100.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/2.353, allocations: 5.438 kB / 1.133 GB, free: 100.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002788/2.355, allocations: 0.9651 MB / 1.133 GB, free: 100.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/2.355, allocations: 13.77 kB / 1.134 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/2.355, allocations: 10.09 kB / 1.134 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/2.357, allocations: 255.9 kB / 1.134 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008209/2.358, allocations: 137.6 kB / 1.134 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/2.359, allocations: 0.8527 MB / 1.135 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/2.36, allocations: 51.23 kB / 1.135 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/2.36, allocations: 39.53 kB / 1.135 GB, free: 100.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004871/2.361, allocations: 253.2 kB / 1.135 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/2.361, allocations: 62.88 kB / 1.135 GB, free: 99.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/2.363, allocations: 0.6911 MB / 1.136 GB, free: 99.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/2.363, allocations: 5.5 kB / 1.136 GB, free: 99.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/2.363, allocations: 0 / 1.136 GB, free: 99.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/2.363, allocations: 5.172 kB / 1.136 GB, free: 99.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/2.366, allocations: 1.363 MB / 1.137 GB, free: 99.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/2.366, allocations: 2.312 kB / 1.137 GB, free: 99.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/2.368, allocations: 195.5 kB / 1.137 GB, free: 99.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/2.369, allocations: 63.36 kB / 1.137 GB, free: 99.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/2.369, allocations: 13.59 kB / 1.137 GB, free: 99.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/2.372, allocations: 2.791 MB / 1.14 GB, free: 96.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/2.372, allocations: 6.094 kB / 1.14 GB, free: 96.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/2.376, allocations: 0.9665 MB / 1.141 GB, free: 96.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006318/2.377, allocations: 191.5 kB / 1.141 GB, free: 96.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/2.377, allocations: 14.66 kB / 1.141 GB, free: 96.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/2.378, allocations: 28.38 kB / 1.141 GB, free: 96.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/2.378, allocations: 34.14 kB / 1.141 GB, free: 96.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/2.378, allocations: 20.8 kB / 1.141 GB, free: 96.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001038/2.379, allocations: 384.2 kB / 1.142 GB, free: 96.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.51e-07/2.379, allocations: 2.625 kB / 1.142 GB, free: 96.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001865/2.381, allocations: 226.5 kB / 1.142 GB, free: 96.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009241/2.382, allocations: 273.8 kB / 1.142 GB, free: 96.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002504/2.385, allocations: 0.5971 MB / 1.143 GB, free: 96.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/2.385, allocations: 0 / 1.143 GB, free: 96.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002641/2.387, allocations: 475.2 kB / 1.143 GB, free: 96.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/2.391, allocations: 326.1 kB / 1.144 GB, free: 96.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/2.396, allocations: 1.63 MB / 1.145 GB, free: 95.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00078/2.397, allocations: 0.9532 MB / 1.146 GB, free: 94.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001849/2.398, allocations: 199.5 kB / 1.146 GB, free: 94.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/2.399, allocations: 67.42 kB / 1.146 GB, free: 94.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/2.399, allocations: 0 / 1.146 GB, free: 94.84 MB / 442.7 MB Notification: Performance of Templates: time 0.04215/2.441, allocations: 13.13 MB / 1.159 GB, free: 94.16 MB / 442.7 MB