Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",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.01112/0.01112, allocations: 166.5 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.806/1.806, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.00204/0.002039, allocations: 115 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.454/0.454, allocations: 38.04 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006442, allocations: 16 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1165, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.897/8.013, allocations: 2.477 GB / 2.879 GB, free: 63.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/8.013, allocations: 86.3 kB / 2.879 GB, free: 62.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.631/9.644, allocations: 284.3 MB / 3.156 GB, free: 42.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/9.644, allocations: 6.969 kB / 3.156 GB, free: 42.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/9.644, allocations: 12.44 kB / 3.156 GB, free: 42.74 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005534/9.65, allocations: 1.224 MB / 3.157 GB, free: 42.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/9.65, allocations: 9.188 kB / 3.158 GB, free: 42.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/9.65, allocations: 64.3 kB / 3.158 GB, free: 42.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/9.651, allocations: 113.1 kB / 3.158 GB, free: 42.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/9.652, allocations: 357.9 kB / 3.158 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/9.652, allocations: 23.09 kB / 3.158 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/9.652, allocations: 22.53 kB / 3.158 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/9.654, allocations: 459.8 kB / 3.158 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/9.654, allocations: 2.719 kB / 3.158 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.328e-05/9.654, allocations: 15.16 kB / 3.159 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/9.654, allocations: 10.89 kB / 3.159 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/9.656, allocations: 395.1 kB / 3.159 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/9.659, allocations: 2.248 MB / 3.161 GB, free: 39.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/9.661, allocations: 261.4 kB / 3.161 GB, free: 39.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/9.661, allocations: 480.6 kB / 3.162 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/9.661, allocations: 38.45 kB / 3.162 GB, free: 39.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/9.661, allocations: 1.219 kB / 3.162 GB, free: 39.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.002388/9.664, allocations: 421.3 kB / 3.162 GB, free: 39.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/9.664, allocations: 108.4 kB / 3.162 GB, free: 39.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/9.664, allocations: 244 kB / 3.163 GB, free: 39.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/9.664, allocations: 26.95 kB / 3.163 GB, free: 39.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/9.664, allocations: 231.8 kB / 3.163 GB, free: 38.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/9.664, allocations: 39.89 kB / 3.163 GB, free: 38.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/9.664, allocations: 4.656 kB / 3.163 GB, free: 38.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/9.665, allocations: 336.9 kB / 3.163 GB, free: 38.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/9.665, allocations: 81.78 kB / 3.163 GB, free: 38.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/9.665, allocations: 214.6 kB / 3.163 GB, free: 38.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/9.666, allocations: 113.5 kB / 3.164 GB, free: 38.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/9.666, allocations: 1.531 kB / 3.164 GB, free: 38.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001106/9.667, allocations: 328.6 kB / 3.164 GB, free: 38.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/9.667, allocations: 6.031 kB / 3.164 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/9.667, allocations: 9.672 kB / 3.164 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.381e-05/9.667, allocations: 5.875 kB / 3.164 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/9.668, allocations: 77.11 kB / 3.164 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/9.668, allocations: 9.188 kB / 3.164 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/9.668, allocations: 51.62 kB / 3.164 GB, free: 38.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/9.668, allocations: 18.56 kB / 3.164 GB, free: 38.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002355/9.668, allocations: 158.8 kB / 3.164 GB, free: 38.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/9.668, allocations: 24.34 kB / 3.164 GB, free: 38.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/9.67, allocations: 0.6911 MB / 3.165 GB, free: 38.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/9.67, allocations: 15.06 kB / 3.165 GB, free: 38.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/9.67, allocations: 0 / 3.165 GB, free: 38.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/9.67, allocations: 4.516 kB / 3.165 GB, free: 38.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/9.671, allocations: 483 kB / 3.165 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/9.671, allocations: 0 / 3.165 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/9.671, allocations: 54.53 kB / 3.165 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/9.671, allocations: 0.7812 kB / 3.165 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/9.671, allocations: 0.75 kB / 3.165 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/9.671, allocations: 2.062 kB / 3.165 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/9.671, allocations: 4.953 kB / 3.165 GB, free: 37.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/9.672, allocations: 444.1 kB / 3.166 GB, free: 37.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/9.672, allocations: 154.4 kB / 3.166 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/9.672, allocations: 3.781 kB / 3.166 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/9.673, allocations: 30.12 kB / 3.166 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/9.673, allocations: 14.27 kB / 3.166 GB, free: 37.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/9.673, allocations: 9.203 kB / 3.166 GB, free: 37.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003071/9.673, allocations: 229.6 kB / 3.166 GB, free: 37.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/9.673, allocations: 0 / 3.166 GB, free: 37.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004472/9.678, allocations: 0.8627 MB / 3.167 GB, free: 37.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.009748/9.687, allocations: 2.161 MB / 3.169 GB, free: 36.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/9.689, allocations: 266.6 kB / 3.17 GB, free: 36.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/9.689, allocations: 0 / 3.17 GB, free: 36.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/9.689, allocations: 166.7 kB / 3.17 GB, free: 36.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/9.69, allocations: 119.3 kB / 3.17 GB, free: 36.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2182/9.908, allocations: 59.4 MB / 3.228 GB, free: 26.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/9.909, allocations: 0.8307 MB / 3.229 GB, free: 26.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005008/9.909, allocations: 119.2 kB / 3.229 GB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/9.909, allocations: 136.3 kB / 3.229 GB, free: 26.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/9.909, allocations: 0 / 3.229 GB, free: 26.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/10.02, allocations: 32.01 MB / 3.26 GB, free: 3.887 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/10.02, allocations: 241.3 kB / 3.26 GB, free: 3.641 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/13.8, allocations: 0 / 3.26 GB, free: 3.641 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat