Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.01018/0.01018, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.105/2.105, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002032/0.002031, allocations: 116.7 kB / 255.6 MB, free: 10.23 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.2898/0.2898, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005062, allocations: 14.56 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1036, allocations: 54.88 MB / 461.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.946/8.05, allocations: 2.625 GB / 3.075 GB, free: 41.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/8.05, allocations: 99.86 kB / 3.076 GB, free: 41.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.991/11.04, allocations: 0.4897 GB / 3.565 GB, free: 46.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/11.04, allocations: 0 / 3.565 GB, free: 46.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.185e-05/11.04, allocations: 19.94 kB / 3.565 GB, free: 46.48 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008533/11.05, allocations: 1.785 MB / 3.567 GB, free: 45.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/11.05, allocations: 11.38 kB / 3.567 GB, free: 45.67 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003989/11.05, allocations: 115.9 kB / 3.567 GB, free: 45.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/11.05, allocations: 232.9 kB / 3.567 GB, free: 45.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/11.06, allocations: 0.5832 MB / 3.568 GB, free: 45.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/11.06, allocations: 117.5 kB / 3.568 GB, free: 45.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/11.06, allocations: 60.61 kB / 3.568 GB, free: 45.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/11.06, allocations: 1.056 MB / 3.569 GB, free: 44.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/11.06, allocations: 11.25 kB / 3.569 GB, free: 44.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/11.06, allocations: 30.78 kB / 3.569 GB, free: 44.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-05/11.06, allocations: 47.23 kB / 3.569 GB, free: 44.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/11.06, allocations: 0.8008 MB / 3.57 GB, free: 44.93 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008282/11.07, allocations: 5.522 MB / 3.575 GB, free: 41.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/11.07, allocations: 0.5165 MB / 3.576 GB, free: 40.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1691/11.24, allocations: 53.35 MB / 3.628 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/11.24, allocations: 44.66 kB / 3.628 GB, free: 23.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 3.266e-06/11.24, allocations: 0 / 3.628 GB, free: 23.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.009078/11.25, allocations: 2.079 MB / 3.63 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/11.25, allocations: 190.2 kB / 3.63 GB, free: 22.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/11.25, allocations: 0.5522 MB / 3.631 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/11.25, allocations: 36.67 kB / 3.631 GB, free: 22.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/11.25, allocations: 409.3 kB / 3.631 GB, free: 22.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/11.25, allocations: 160.3 kB / 3.631 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/11.25, allocations: 19.38 kB / 3.631 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002004/11.25, allocations: 376.1 kB / 3.632 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00062/11.25, allocations: 229.2 kB / 3.632 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007878/11.25, allocations: 0.6042 MB / 3.633 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/11.25, allocations: 339.3 kB / 3.633 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/11.25, allocations: 6.109 kB / 3.633 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002239/11.26, allocations: 0.9175 MB / 3.634 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/11.26, allocations: 9.844 kB / 3.634 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/11.26, allocations: 17.28 kB / 3.634 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006886/11.26, allocations: 267.2 kB / 3.634 GB, free: 21.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/11.27, allocations: 293.4 kB / 3.634 GB, free: 21.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/11.27, allocations: 2.021 MB / 3.636 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/11.27, allocations: 64.17 kB / 3.636 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/11.27, allocations: 41.56 kB / 3.636 GB, free: 19.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006258/11.27, allocations: 287.1 kB / 3.637 GB, free: 19.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/11.27, allocations: 72.62 kB / 3.637 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/11.27, allocations: 2.008 MB / 3.639 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/11.27, allocations: 35.88 kB / 3.639 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/11.27, allocations: 0 / 3.639 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/11.27, allocations: 0 / 3.639 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/11.28, allocations: 2.984 MB / 3.642 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/11.28, allocations: 0 / 3.642 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/11.28, allocations: 190 kB / 3.642 GB, free: 18.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/11.28, allocations: 307.9 kB / 3.642 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/11.28, allocations: 11.94 kB / 3.642 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/11.29, allocations: 2.083 MB / 3.644 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/11.29, allocations: 0 / 3.644 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/11.29, allocations: 1.953 MB / 3.646 GB, free: 16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/11.29, allocations: 283 kB / 3.646 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/11.29, allocations: 11.53 kB / 3.646 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/11.29, allocations: 46.06 kB / 3.646 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/11.29, allocations: 26.39 kB / 3.646 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/11.29, allocations: 20.33 kB / 3.646 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001033/11.29, allocations: 0.5505 MB / 3.647 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/11.29, allocations: 0 / 3.647 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006116/11.3, allocations: 1.136 MB / 3.648 GB, free: 15.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01393/11.31, allocations: 4.09 MB / 3.652 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003022/11.32, allocations: 0.9096 MB / 3.653 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/11.32, allocations: 3.281 kB / 3.653 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/11.32, allocations: 0.6237 MB / 3.654 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/11.32, allocations: 374.6 kB / 3.654 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/11.34, allocations: 14.22 MB / 3.668 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/11.34, allocations: 1.117 MB / 3.669 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001433/11.34, allocations: 349.7 kB / 3.669 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/11.34, allocations: 372.1 kB / 3.67 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/11.34, allocations: 3.969 kB / 3.67 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5148/11.86, allocations: 50.33 MB / 3.719 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/11.86, allocations: 277.1 kB / 3.719 GB, free: 78.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.935/16.79, allocations: 3.875 kB / 3.719 GB, free: 78.59 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat