Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.009935/0.009935, allocations: 175.9 kB / 15.12 MB, free: 5.934 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.114/2.114, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002062/0.002062, allocations: 112.6 kB / 255.6 MB, free: 10.43 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.2694/0.2694, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007222/0.0007223, allocations: 12.69 kB / 406.3 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1105, allocations: 54.88 MB / 461.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.05/11.16, allocations: 3.668 GB / 4.118 GB, free: 113.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/11.16, allocations: 93.36 kB / 4.118 GB, free: 113.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.31/13.47, allocations: 432.6 MB / 4.54 GB, free: 66.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.266e-06/13.47, allocations: 0 / 4.54 GB, free: 66.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.989e-05/13.47, allocations: 24.14 kB / 4.54 GB, free: 66.05 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.0145/13.49, allocations: 2.426 MB / 4.543 GB, free: 64.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/13.49, allocations: 11.53 kB / 4.543 GB, free: 64.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007611/13.49, allocations: 124.5 kB / 4.543 GB, free: 64.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/13.49, allocations: 113.9 kB / 4.543 GB, free: 64.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/13.49, allocations: 0.6393 MB / 4.544 GB, free: 64.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/13.49, allocations: 113 kB / 4.544 GB, free: 64.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004132/13.49, allocations: 71.42 kB / 4.544 GB, free: 64.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0046/13.5, allocations: 1.151 MB / 4.545 GB, free: 63.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/13.5, allocations: 3.375 kB / 4.545 GB, free: 63.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/13.5, allocations: 29.61 kB / 4.545 GB, free: 63.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/13.5, allocations: 61.81 kB / 4.545 GB, free: 63.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005665/13.5, allocations: 1.141 MB / 4.546 GB, free: 63.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/13.52, allocations: 4.655 MB / 4.551 GB, free: 61.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/13.52, allocations: 0.7576 MB / 4.551 GB, free: 61.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001906/13.52, allocations: 1.572 MB / 4.553 GB, free: 59.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/13.52, allocations: 45.44 kB / 4.553 GB, free: 59.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 4.218e-06/13.52, allocations: 0 / 4.553 GB, free: 59.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.04146/13.56, allocations: 4.185 MB / 4.557 GB, free: 59.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/13.56, allocations: 109.7 kB / 4.557 GB, free: 59.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/13.57, allocations: 0.549 MB / 4.558 GB, free: 58.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003523/13.57, allocations: 46.42 kB / 4.558 GB, free: 58.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/13.57, allocations: 398.7 kB / 4.558 GB, free: 58.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/13.57, allocations: 292.6 kB / 4.558 GB, free: 58.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/13.57, allocations: 19.62 kB / 4.558 GB, free: 58.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/13.57, allocations: 384.3 kB / 4.559 GB, free: 57.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/13.57, allocations: 477.2 kB / 4.559 GB, free: 57.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/13.57, allocations: 0.7786 MB / 4.56 GB, free: 57.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/13.57, allocations: 0.5747 MB / 4.561 GB, free: 56.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/13.57, allocations: 3.969 kB / 4.561 GB, free: 56.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005674/13.58, allocations: 1.671 MB / 4.562 GB, free: 56.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/13.58, allocations: 11.44 kB / 4.562 GB, free: 56.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/13.58, allocations: 10.59 kB / 4.562 GB, free: 56.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01754/13.6, allocations: 1.416 MB / 4.564 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/13.6, allocations: 171.5 kB / 4.564 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006375/13.61, allocations: 1.493 MB / 4.565 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/13.61, allocations: 98.08 kB / 4.565 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000476/13.61, allocations: 69.17 kB / 4.565 GB, free: 55.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.001225/13.61, allocations: 306.7 kB / 4.566 GB, free: 55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004309/13.61, allocations: 81.31 kB / 4.566 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008705/13.62, allocations: 1.609 MB / 4.567 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/13.62, allocations: 11.53 kB / 4.567 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/13.62, allocations: 0 / 4.567 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.409e-05/13.62, allocations: 6.375 kB / 4.567 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/13.63, allocations: 2.461 MB / 4.57 GB, free: 52.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/13.63, allocations: 0 / 4.57 GB, free: 52.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003947/13.63, allocations: 271.4 kB / 4.57 GB, free: 52.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005177/13.64, allocations: 395.8 kB / 4.57 GB, free: 51.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003624/13.64, allocations: 35.17 kB / 4.57 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/13.65, allocations: 2.268 MB / 4.573 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/13.65, allocations: 4.031 kB / 4.573 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00935/13.65, allocations: 2.005 MB / 4.575 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/13.66, allocations: 290.2 kB / 4.575 GB, free: 47.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/13.66, allocations: 23.52 kB / 4.575 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/13.66, allocations: 68.59 kB / 4.575 GB, free: 47.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003423/13.66, allocations: 71.78 kB / 4.575 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/13.66, allocations: 50.83 kB / 4.575 GB, free: 47.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00125/13.66, allocations: 449.8 kB / 4.576 GB, free: 47.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.173e-06/13.66, allocations: 1.5 kB / 4.576 GB, free: 47.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005826/13.67, allocations: 0.8292 MB / 4.576 GB, free: 46.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[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 (81): * Single equations (assignments): 77 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01723/13.68, allocations: 4.41 MB / 4.581 GB, free: 42.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006094/13.69, allocations: 1.204 MB / 4.582 GB, free: 41.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/13.69, allocations: 5.375 kB / 4.582 GB, free: 41.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004658/13.69, allocations: 0.679 MB / 4.583 GB, free: 40.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/13.7, allocations: 426 kB / 4.583 GB, free: 40.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/13.72, allocations: 13.01 MB / 4.596 GB, free: 27.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/13.72, allocations: 1.058 MB / 4.597 GB, free: 26.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001853/13.73, allocations: 302.3 kB / 4.597 GB, free: 25.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/13.73, allocations: 335.3 kB / 4.597 GB, free: 25.64 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/13.73, allocations: 0 / 4.597 GB, free: 25.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.529/14.26, allocations: 52.07 MB / 4.648 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/14.26, allocations: 264.7 kB / 4.648 GB, free: 78.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.096/19.35, allocations: 3.938 kB / 4.648 GB, free: 78.75 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat