Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01007/0.01007, allocations: 176.1 kB / 15.12 MB, free: 5.93 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 2.06/2.06, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002084/0.002083, allocations: 120.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2584/0.2584, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004841, allocations: 11.94 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.109, allocations: 54.87 MB / 461.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.36, allocations: 347.9 MB / 0.7901 GB, free: 108.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/1.36, allocations: 98.48 kB / 0.7902 GB, free: 108.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.748/2.108, allocations: 129.9 MB / 0.917 GB, free: 123.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/2.108, allocations: 2.906 kB / 0.917 GB, free: 123.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.625e-05/2.108, allocations: 17.19 kB / 0.917 GB, free: 123.3 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003415/2.112, allocations: 0.972 MB / 0.918 GB, free: 122.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/2.112, allocations: 12 kB / 0.918 GB, free: 122.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004458/2.112, allocations: 96.47 kB / 0.9181 GB, free: 122.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/2.113, allocations: 99.52 kB / 0.9182 GB, free: 122.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/2.115, allocations: 0.542 MB / 0.9187 GB, free: 122.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/2.115, allocations: 107.6 kB / 0.9188 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/2.115, allocations: 52.33 kB / 0.9189 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/2.118, allocations: 0.8097 MB / 0.9196 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/2.118, allocations: 2.062 kB / 0.9197 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/2.118, allocations: 23.3 kB / 0.9197 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/2.118, allocations: 48.2 kB / 0.9197 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/2.12, allocations: 0.616 MB / 0.9203 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007066/2.127, allocations: 4.025 MB / 0.9243 GB, free: 119.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/2.128, allocations: 330.2 kB / 0.9246 GB, free: 119.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003124/2.131, allocations: 1.77 MB / 0.9263 GB, free: 118.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/2.131, allocations: 41.23 kB / 0.9263 GB, free: 118.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 3.256e-06/2.131, allocations: 0 / 0.9263 GB, free: 118.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.004929/2.136, allocations: 1.205 MB / 0.9275 GB, free: 117.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/2.136, allocations: 136.1 kB / 0.9276 GB, free: 117.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/2.138, allocations: 0.5471 MB / 0.9282 GB, free: 117.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.597e-05/2.138, allocations: 38.73 kB / 0.9282 GB, free: 117.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/2.138, allocations: 411.3 kB / 0.9286 GB, free: 117.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/2.138, allocations: 126.7 kB / 0.9287 GB, free: 117.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/2.138, allocations: 18.03 kB / 0.9287 GB, free: 117.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/2.138, allocations: 375.7 kB / 0.9291 GB, free: 116.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/2.139, allocations: 179.2 kB / 0.9293 GB, free: 116.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/2.139, allocations: 0.5721 MB / 0.9298 GB, free: 116.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/2.14, allocations: 298.4 kB / 0.9301 GB, free: 116.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/2.14, allocations: 3.969 kB / 0.9301 GB, free: 116.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001761/2.142, allocations: 0.7717 MB / 0.9309 GB, free: 116.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/2.142, allocations: 15.66 kB / 0.9309 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/2.142, allocations: 11.69 kB / 0.9309 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/2.142, allocations: 21.97 kB / 0.9309 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/2.144, allocations: 207.7 kB / 0.9311 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.509e-05/2.144, allocations: 26.67 kB / 0.9311 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/2.145, allocations: 52.72 kB / 0.9312 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/2.145, allocations: 42.06 kB / 0.9312 GB, free: 116.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000603/2.146, allocations: 262.7 kB / 0.9315 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/2.146, allocations: 67.25 kB / 0.9315 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/2.147, allocations: 438.3 kB / 0.932 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/2.147, allocations: 5.906 kB / 0.932 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.147, allocations: 0 / 0.932 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/2.147, allocations: 0 / 0.932 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/2.15, allocations: 1.204 MB / 0.9331 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/2.15, allocations: 2.531 kB / 0.9331 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/2.15, allocations: 76.89 kB / 0.9332 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/2.151, allocations: 45.03 kB / 0.9333 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/2.151, allocations: 6.625 kB / 0.9333 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004291/2.151, allocations: 0.5714 MB / 0.9338 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/2.151, allocations: 10.28 kB / 0.9338 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/2.152, allocations: 0.8185 MB / 0.9346 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/2.153, allocations: 181.3 kB / 0.9348 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/2.153, allocations: 18.14 kB / 0.9348 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/2.154, allocations: 21.47 kB / 0.9348 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/2.154, allocations: 34.92 kB / 0.9349 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/2.154, allocations: 20.59 kB / 0.9349 GB, free: 114.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000751/2.155, allocations: 427.8 kB / 0.9353 GB, free: 114.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.155, allocations: 3.062 kB / 0.9353 GB, free: 114.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001329/2.156, allocations: 217.1 kB / 0.9355 GB, free: 114.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (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 (35): * Single equations (assignments): 34 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002411/2.158, allocations: 2.499 MB / 0.938 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/2.16, allocations: 466.8 kB / 0.9384 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/2.16, allocations: 1.375 kB / 0.9384 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005476/2.16, allocations: 168.6 kB / 0.9386 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/2.163, allocations: 276.6 kB / 0.9388 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009644/2.172, allocations: 12.98 MB / 0.9515 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/2.173, allocations: 0.9521 MB / 0.9524 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001256/2.174, allocations: 197.6 kB / 0.9526 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/2.175, allocations: 234 kB / 0.9529 GB, free: 100.8 MB / 490.7 MB Notification: Performance of SimCode: time 9.11e-07/2.175, allocations: 2.781 kB / 0.9529 GB, free: 100.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05946/2.234, allocations: 18.65 MB / 0.9711 GB, free: 99.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/2.234, allocations: 285.1 kB / 0.9713 GB, free: 99.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/5.478, allocations: 0 / 0.9713 GB, free: 99.34 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat