Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01005/0.01006, allocations: 165.1 kB / 15.11 MB, free: 5.93 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.776/1.776, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001974/0.001974, allocations: 114.6 kB / 226.2 MB, free: 10.09 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.4622/0.4622, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000516/0.000516, allocations: 16 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1118, allocations: 48.69 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.932/1.044, allocations: 230.6 MB / 0.6272 GB, free: 101.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.044, allocations: 94.45 kB / 0.6273 GB, free: 101.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312/2.356, allocations: 281.5 MB / 0.9022 GB, free: 6.504 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/2.356, allocations: 0 / 0.9022 GB, free: 6.504 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.359e-05/2.357, allocations: 20.16 kB / 0.9023 GB, free: 6.484 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005506/2.362, allocations: 1.593 MB / 0.9038 GB, free: 4.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/2.362, allocations: 8.031 kB / 0.9038 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002739/2.362, allocations: 106.5 kB / 0.9039 GB, free: 4.719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/2.364, allocations: 138.9 kB / 0.9041 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/2.365, allocations: 0.556 MB / 0.9046 GB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/2.366, allocations: 108.4 kB / 0.9047 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/2.366, allocations: 44 kB / 0.9048 GB, free: 3.824 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/2.368, allocations: 0.8161 MB / 0.9056 GB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/2.368, allocations: 7.938 kB / 0.9056 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/2.368, allocations: 24 kB / 0.9056 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.816e-05/2.368, allocations: 44.94 kB / 0.9056 GB, free: 2.844 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/2.37, allocations: 0.5736 MB / 0.9062 GB, free: 2.27 MB / 426.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.325/2.695, allocations: 4.416 MB / 0.9105 GB, free: 56.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/2.696, allocations: 314.8 kB / 0.9108 GB, free: 56.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/2.697, allocations: 339.9 kB / 0.9111 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/2.697, allocations: 40.78 kB / 0.9112 GB, free: 55.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 6.131e-06/2.697, allocations: 6.531 kB / 0.9112 GB, free: 55.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.007258/2.704, allocations: 1.482 MB / 0.9126 GB, free: 55.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/2.704, allocations: 139.4 kB / 0.9127 GB, free: 55.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/2.705, allocations: 0.5591 MB / 0.9133 GB, free: 55.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/2.706, allocations: 35.44 kB / 0.9133 GB, free: 55.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/2.706, allocations: 401 kB / 0.9137 GB, free: 54.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/2.706, allocations: 135.5 kB / 0.9138 GB, free: 54.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/2.706, allocations: 15.56 kB / 0.9139 GB, free: 54.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/2.706, allocations: 379.3 kB / 0.9142 GB, free: 54.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/2.707, allocations: 199.7 kB / 0.9144 GB, free: 54.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/2.708, allocations: 0.5249 MB / 0.9149 GB, free: 54.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008208/2.709, allocations: 302.2 kB / 0.9152 GB, free: 54.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/2.709, allocations: 3.25 kB / 0.9152 GB, free: 54.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002438/2.711, allocations: 0.8798 MB / 0.9161 GB, free: 54.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/2.711, allocations: 10.19 kB / 0.9161 GB, free: 54.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/2.711, allocations: 9.625 kB / 0.9161 GB, free: 54.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/2.713, allocations: 281.1 kB / 0.9164 GB, free: 54.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/2.714, allocations: 135.2 kB / 0.9165 GB, free: 54.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/2.716, allocations: 1.369 MB / 0.9178 GB, free: 53.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/2.717, allocations: 39.69 kB / 0.9179 GB, free: 53.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/2.717, allocations: 47.2 kB / 0.9179 GB, free: 53.06 MB / 426.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.0005164/2.717, allocations: 246 kB / 0.9181 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/2.718, allocations: 79.62 kB / 0.9182 GB, free: 52.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/2.72, allocations: 0.6848 MB / 0.9189 GB, free: 52.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/2.72, allocations: 4.125 kB / 0.9189 GB, free: 52.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/2.72, allocations: 5.281 kB / 0.9189 GB, free: 52.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/2.72, allocations: 3.328 kB / 0.9189 GB, free: 52.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/2.723, allocations: 1.195 MB / 0.9201 GB, free: 52.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.723, allocations: 6.797 kB / 0.9201 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/2.723, allocations: 45.89 kB / 0.9201 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/2.725, allocations: 190.5 kB / 0.9203 GB, free: 52.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/2.725, allocations: 13.31 kB / 0.9203 GB, free: 52.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/2.726, allocations: 1.301 MB / 0.9216 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.726, allocations: 6.906 kB / 0.9216 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/2.728, allocations: 0.8026 MB / 0.9224 GB, free: 51.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/2.728, allocations: 199.2 kB / 0.9226 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/2.728, allocations: 5.781 kB / 0.9226 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/2.729, allocations: 28.53 kB / 0.9226 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/2.729, allocations: 22.69 kB / 0.9226 GB, free: 51.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/2.729, allocations: 30.02 kB / 0.9226 GB, free: 51.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007567/2.73, allocations: 434.9 kB / 0.9231 GB, free: 50.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.73, allocations: 0 / 0.9231 GB, free: 50.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001781/2.732, allocations: 365.1 kB / 0.9234 GB, free: 50.95 MB / 426.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.003461/2.735, allocations: 1.827 MB / 0.9252 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/2.737, allocations: 0.5221 MB / 0.9257 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/2.737, allocations: 0 / 0.9257 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007803/2.738, allocations: 207 kB / 0.9259 GB, free: 50.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/2.74, allocations: 298.6 kB / 0.9262 GB, free: 50.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/2.751, allocations: 11.33 MB / 0.9372 GB, free: 41.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/2.752, allocations: 0.9428 MB / 0.9382 GB, free: 40.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001377/2.753, allocations: 248.6 kB / 0.9384 GB, free: 40.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/2.754, allocations: 240.3 kB / 0.9386 GB, free: 40.79 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/2.754, allocations: 0 / 0.9386 GB, free: 40.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07697/2.831, allocations: 22.01 MB / 0.9601 GB, free: 40.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/2.831, allocations: 289.8 kB / 0.9604 GB, free: 39.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.436/6.267, allocations: 0 / 0.9604 GB, free: 39.73 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat