Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.01455/0.01455, allocations: 174 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 1.862/1.862, allocations: 194.5 MB / 210.3 MB, free: 8.781 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.002024/0.002023, allocations: 120.7 kB / 255.6 MB, free: 11.4 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.2695/0.2695, allocations: 40 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 12.97 kB / 406.3 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09757, allocations: 54.88 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6794/0.777, allocations: 237.1 MB / 0.6819 GB, free: 3.141 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/0.7774, allocations: 99.05 kB / 0.682 GB, free: 3.086 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.71/2.487, allocations: 286.1 MB / 0.9613 GB, free: 106.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.525e-06/2.487, allocations: 0 / 0.9613 GB, free: 106.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.822e-05/2.487, allocations: 17.75 kB / 0.9614 GB, free: 106.6 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005265/2.492, allocations: 1.596 MB / 0.9629 GB, free: 106 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/2.492, allocations: 15.52 kB / 0.9629 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/2.493, allocations: 95.45 kB / 0.963 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/2.494, allocations: 138.4 kB / 0.9632 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/2.496, allocations: 0.5608 MB / 0.9637 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/2.496, allocations: 103.4 kB / 0.9638 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/2.496, allocations: 53.44 kB / 0.9639 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/2.498, allocations: 0.8154 MB / 0.9647 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/2.498, allocations: 0 / 0.9647 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/2.498, allocations: 21.56 kB / 0.9647 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.631e-05/2.499, allocations: 47.41 kB / 0.9647 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/2.5, allocations: 0.5739 MB / 0.9653 GB, free: 105.3 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.006852/2.507, allocations: 4.43 MB / 0.9696 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/2.508, allocations: 313.3 kB / 0.9699 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/2.509, allocations: 341.2 kB / 0.9702 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/2.509, allocations: 43.94 kB / 0.9703 GB, free: 101.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/2.509, allocations: 2.906 kB / 0.9703 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.006092/2.515, allocations: 1.483 MB / 0.9717 GB, free: 101.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/2.515, allocations: 142.9 kB / 0.9719 GB, free: 101.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/2.516, allocations: 0.5622 MB / 0.9724 GB, free: 101 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/2.516, allocations: 33.33 kB / 0.9724 GB, free: 101 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/2.516, allocations: 402.8 kB / 0.9728 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/2.516, allocations: 132.4 kB / 0.973 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/2.517, allocations: 14.03 kB / 0.973 GB, free: 100.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/2.517, allocations: 383.1 kB / 0.9733 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/2.517, allocations: 196.8 kB / 0.9735 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/2.518, allocations: 0.5278 MB / 0.974 GB, free: 100 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/2.519, allocations: 299.8 kB / 0.9743 GB, free: 100 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/2.519, allocations: 3.688 kB / 0.9743 GB, free: 100 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00218/2.521, allocations: 0.8779 MB / 0.9752 GB, free: 99.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/2.521, allocations: 7.812 kB / 0.9752 GB, free: 99.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/2.521, allocations: 14.03 kB / 0.9752 GB, free: 99.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/2.523, allocations: 271 kB / 0.9755 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007691/2.524, allocations: 137.3 kB / 0.9756 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/2.525, allocations: 1.368 MB / 0.9769 GB, free: 98.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/2.526, allocations: 36.23 kB / 0.977 GB, free: 98.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/2.526, allocations: 49.42 kB / 0.977 GB, free: 98.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005392/2.527, allocations: 255.8 kB / 0.9773 GB, free: 98.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/2.527, allocations: 67.72 kB / 0.9773 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/2.529, allocations: 0.6868 MB / 0.978 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/2.529, allocations: 3.344 kB / 0.978 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/2.529, allocations: 3.953 kB / 0.978 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/2.529, allocations: 3.844 kB / 0.978 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/2.533, allocations: 1.201 MB / 0.9792 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/2.533, allocations: 0 / 0.9792 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/2.533, allocations: 35.61 kB / 0.9792 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/2.534, allocations: 206.4 kB / 0.9794 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/2.534, allocations: 6.906 kB / 0.9794 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/2.536, allocations: 1.298 MB / 0.9807 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/2.536, allocations: 11.48 kB / 0.9807 GB, free: 97.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/2.538, allocations: 0.7976 MB / 0.9815 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/2.539, allocations: 205.4 kB / 0.9817 GB, free: 96.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/2.539, allocations: 10.77 kB / 0.9817 GB, free: 96.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/2.539, allocations: 25.64 kB / 0.9817 GB, free: 96.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/2.54, allocations: 25.27 kB / 0.9817 GB, free: 96.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/2.54, allocations: 21.41 kB / 0.9817 GB, free: 96.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007992/2.54, allocations: 438.5 kB / 0.9822 GB, free: 96.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.541, allocations: 0 / 0.9822 GB, free: 96.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001946/2.542, allocations: 364.2 kB / 0.9825 GB, free: 96.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003657/2.546, allocations: 1.828 MB / 0.9843 GB, free: 95.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/2.548, allocations: 0.5201 MB / 0.9848 GB, free: 95.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/2.548, allocations: 3.938 kB / 0.9848 GB, free: 95.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/2.549, allocations: 211.3 kB / 0.985 GB, free: 95.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/2.551, allocations: 298.8 kB / 0.9853 GB, free: 95.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/2.563, allocations: 11.33 MB / 0.9964 GB, free: 86.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/2.564, allocations: 0.9427 MB / 0.9973 GB, free: 86.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00136/2.565, allocations: 244.2 kB / 0.9975 GB, free: 86.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/2.566, allocations: 240.1 kB / 0.9977 GB, free: 86.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/2.566, allocations: 0 / 0.9977 GB, free: 86.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0851/2.651, allocations: 22 MB / 1.019 GB, free: 85.01 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/2.651, allocations: 282.1 kB / 1.019 GB, free: 84.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.624/6.275, allocations: 4 kB / 1.019 GB, free: 84.64 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat