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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01489/0.01489, allocations: 165.5 kB / 15.11 MB, free: 5.934 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 1.739/1.739, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001973/0.001973, allocations: 103.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5606/0.5606, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004722, allocations: 11.98 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1565, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.576/1.733, allocations: 408.5 MB / 0.801 GB, free: 95.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.733, allocations: 96.81 kB / 0.8011 GB, free: 95.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7156/2.449, allocations: 118 MB / 0.9163 GB, free: 80.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/2.449, allocations: 0 / 0.9163 GB, free: 80.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.471e-05/2.449, allocations: 17.66 kB / 0.9163 GB, free: 80.77 MB / 426.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.003395/2.452, allocations: 1.055 MB / 0.9174 GB, free: 80.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/2.452, allocations: 9.625 kB / 0.9174 GB, free: 80.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002901/2.452, allocations: 98.25 kB / 0.9175 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/2.453, allocations: 91.5 kB / 0.9176 GB, free: 80.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/2.455, allocations: 0.5441 MB / 0.9181 GB, free: 79.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/2.455, allocations: 104.2 kB / 0.9182 GB, free: 79.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/2.455, allocations: 53.81 kB / 0.9182 GB, free: 79.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/2.457, allocations: 0.8134 MB / 0.919 GB, free: 79.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/2.457, allocations: 0 / 0.919 GB, free: 79.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/2.457, allocations: 21.25 kB / 0.9191 GB, free: 79.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.361e-05/2.457, allocations: 44.98 kB / 0.9191 GB, free: 79.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/2.459, allocations: 0.6305 MB / 0.9197 GB, free: 79.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006487/2.465, allocations: 3.901 MB / 0.9235 GB, free: 77.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/2.467, allocations: 389.6 kB / 0.9239 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/2.467, allocations: 0.498 MB / 0.9244 GB, free: 76.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/2.467, allocations: 40.55 kB / 0.9244 GB, free: 76.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.216e-06/2.467, allocations: 0 / 0.9244 GB, free: 76.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.00501/2.472, allocations: 1.487 MB / 0.9259 GB, free: 76.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/2.472, allocations: 134.2 kB / 0.926 GB, free: 76.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/2.473, allocations: 497.5 kB / 0.9265 GB, free: 75.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/2.474, allocations: 39 kB / 0.9265 GB, free: 75.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/2.474, allocations: 368.9 kB / 0.9269 GB, free: 75.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/2.474, allocations: 163 kB / 0.927 GB, free: 75.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/2.474, allocations: 12.19 kB / 0.927 GB, free: 75.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/2.474, allocations: 373.1 kB / 0.9274 GB, free: 75.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/2.475, allocations: 226.2 kB / 0.9276 GB, free: 75.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/2.476, allocations: 0.5298 MB / 0.9281 GB, free: 74.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/2.476, allocations: 322.8 kB / 0.9284 GB, free: 74.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/2.476, allocations: 3.125 kB / 0.9284 GB, free: 74.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003014/2.479, allocations: 0.9678 MB / 0.9294 GB, free: 74.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/2.48, allocations: 12.62 kB / 0.9294 GB, free: 74.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/2.48, allocations: 9.594 kB / 0.9294 GB, free: 74.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/2.481, allocations: 256.2 kB / 0.9296 GB, free: 74.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/2.482, allocations: 134.4 kB / 0.9298 GB, free: 74.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/2.484, allocations: 0.8504 MB / 0.9306 GB, free: 74.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/2.485, allocations: 51.03 kB / 0.9307 GB, free: 74.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.194e-05/2.485, allocations: 46.23 kB / 0.9307 GB, free: 74.21 MB / 426.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.0005174/2.485, allocations: 246.6 kB / 0.9309 GB, free: 74.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/2.485, allocations: 66.91 kB / 0.931 GB, free: 74.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/2.487, allocations: 0.6974 MB / 0.9317 GB, free: 73.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/2.487, allocations: 6.438 kB / 0.9317 GB, free: 73.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/2.487, allocations: 0 / 0.9317 GB, free: 73.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/2.487, allocations: 3.234 kB / 0.9317 GB, free: 73.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/2.491, allocations: 1.371 MB / 0.933 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/2.491, allocations: 3.438 kB / 0.933 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/2.493, allocations: 194.5 kB / 0.9332 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004968/2.493, allocations: 62.16 kB / 0.9333 GB, free: 73.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/2.493, allocations: 12.94 kB / 0.9333 GB, free: 73.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/2.496, allocations: 2.81 MB / 0.936 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/2.496, allocations: 0 / 0.936 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/2.499, allocations: 1.051 MB / 0.9371 GB, free: 70.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005287/2.499, allocations: 199.9 kB / 0.9372 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/2.499, allocations: 11.78 kB / 0.9373 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/2.5, allocations: 27.47 kB / 0.9373 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/2.5, allocations: 52.66 kB / 0.9373 GB, free: 70.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/2.5, allocations: 19.7 kB / 0.9374 GB, free: 70.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006817/2.501, allocations: 381.6 kB / 0.9377 GB, free: 70.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.501, allocations: 0 / 0.9377 GB, free: 70.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00134/2.502, allocations: 221 kB / 0.9379 GB, free: 70.43 MB / 426.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.003204/2.506, allocations: 2.231 MB / 0.9401 GB, free: 69.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001931/2.508, allocations: 0.5961 MB / 0.9407 GB, free: 69.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/2.508, allocations: 0 / 0.9407 GB, free: 69.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/2.509, allocations: 465.9 kB / 0.9411 GB, free: 68.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/2.512, allocations: 300.7 kB / 0.9414 GB, free: 68.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/2.524, allocations: 11.07 MB / 0.9522 GB, free: 60.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/2.525, allocations: 0.9536 MB / 0.9532 GB, free: 59.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001443/2.526, allocations: 204.3 kB / 0.9534 GB, free: 59.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/2.527, allocations: 230.6 kB / 0.9536 GB, free: 59.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/2.527, allocations: 1.062 kB / 0.9536 GB, free: 59.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06901/2.596, allocations: 19.78 MB / 0.9729 GB, free: 58.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/2.596, allocations: 281.8 kB / 0.9732 GB, free: 58.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/5.876, allocations: 3.875 kB / 0.9732 GB, free: 58.21 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat