Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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.009936/0.009936, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.666/1.666, 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.002024/0.002023, allocations: 107.4 kB / 226.2 MB, free: 10.1 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.4383/0.4383, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007356/0.0007357, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1235, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.73/7.854, allocations: 2.477 GB / 2.879 GB, free: 62.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/7.854, allocations: 84.02 kB / 2.879 GB, free: 62.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.701/9.555, allocations: 304.9 MB / 3.177 GB, free: 40.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/9.555, allocations: 0 / 3.177 GB, free: 40.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.26e-05/9.555, allocations: 7.594 kB / 3.177 GB, free: 40.64 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005982/9.561, allocations: 1.332 MB / 3.178 GB, free: 39.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/9.561, allocations: 11.78 kB / 3.178 GB, free: 39.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/9.561, allocations: 65.25 kB / 3.178 GB, free: 39.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/9.564, allocations: 181 kB / 3.179 GB, free: 39.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/9.565, allocations: 352.7 kB / 3.179 GB, free: 39.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/9.565, allocations: 33.19 kB / 3.179 GB, free: 39.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/9.565, allocations: 24.97 kB / 3.179 GB, free: 39.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/9.567, allocations: 0.4886 MB / 3.179 GB, free: 39.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/9.567, allocations: 352 / 3.179 GB, free: 39.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/9.567, allocations: 15.67 kB / 3.179 GB, free: 39.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/9.567, allocations: 6.812 kB / 3.179 GB, free: 39.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/9.569, allocations: 436.9 kB / 3.18 GB, free: 39.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/9.572, allocations: 2.291 MB / 3.182 GB, free: 37.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/9.574, allocations: 301.2 kB / 3.182 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05987/9.634, allocations: 15.64 MB / 3.198 GB, free: 29.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/9.634, allocations: 33.78 kB / 3.198 GB, free: 28.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.985e-06/9.634, allocations: 0 / 3.198 GB, free: 28.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.002605/9.637, allocations: 0.4947 MB / 3.198 GB, free: 28.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/9.637, allocations: 109.9 kB / 3.198 GB, free: 28.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/9.637, allocations: 246.8 kB / 3.199 GB, free: 28.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/9.637, allocations: 25.7 kB / 3.199 GB, free: 28.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/9.637, allocations: 223.9 kB / 3.199 GB, free: 28.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/9.637, allocations: 50.88 kB / 3.199 GB, free: 28.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/9.637, allocations: 10.81 kB / 3.199 GB, free: 28.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.396e-05/9.637, allocations: 337.6 kB / 3.199 GB, free: 28.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/9.638, allocations: 89.45 kB / 3.199 GB, free: 27.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/9.638, allocations: 220.6 kB / 3.199 GB, free: 27.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/9.639, allocations: 118.4 kB / 3.2 GB, free: 27.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/9.639, allocations: 7.719 kB / 3.2 GB, free: 27.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001098/9.64, allocations: 345.1 kB / 3.2 GB, free: 27.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/9.64, allocations: 7.688 kB / 3.2 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/9.64, allocations: 3.875 kB / 3.2 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/9.64, allocations: 7.875 kB / 3.2 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/9.64, allocations: 88.33 kB / 3.2 GB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/9.64, allocations: 3.469 kB / 3.2 GB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/9.641, allocations: 51.11 kB / 3.2 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/9.641, allocations: 17.62 kB / 3.2 GB, free: 27.59 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 (34): * Single equations (assignments): 34 * 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.0002308/9.641, allocations: 160.5 kB / 3.2 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/9.641, allocations: 29.55 kB / 3.2 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/9.643, allocations: 0.9531 MB / 3.201 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/9.643, allocations: 11.59 kB / 3.201 GB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/9.643, allocations: 3.812 kB / 3.201 GB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/9.643, allocations: 7.172 kB / 3.201 GB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007544/9.644, allocations: 0.5584 MB / 3.202 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/9.644, allocations: 0 / 3.202 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/9.644, allocations: 58.95 kB / 3.202 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/9.644, allocations: 6.641 kB / 3.202 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/9.644, allocations: 3.953 kB / 3.202 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/9.644, allocations: 3.938 kB / 3.202 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/9.644, allocations: 0 / 3.202 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/9.645, allocations: 0.527 MB / 3.202 GB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/9.645, allocations: 162.3 kB / 3.202 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/9.645, allocations: 3.75 kB / 3.202 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/9.646, allocations: 35.36 kB / 3.203 GB, free: 26.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/9.646, allocations: 23.28 kB / 3.203 GB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/9.646, allocations: 3.938 kB / 3.203 GB, free: 26.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003226/9.646, allocations: 229.3 kB / 3.203 GB, free: 26 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.646, allocations: 3.938 kB / 3.203 GB, free: 26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00457/9.651, allocations: 0.8645 MB / 3.204 GB, free: 25.82 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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009613/9.66, allocations: 2.253 MB / 3.206 GB, free: 24.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/9.662, allocations: 313.4 kB / 3.206 GB, free: 24.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/9.662, allocations: 0.9375 kB / 3.206 GB, free: 24.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/9.662, allocations: 211.9 kB / 3.206 GB, free: 24.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/9.663, allocations: 126.5 kB / 3.206 GB, free: 24.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/9.862, allocations: 59.57 MB / 3.265 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/9.863, allocations: 0.8515 MB / 3.265 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005778/9.864, allocations: 148.1 kB / 3.266 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/9.864, allocations: 147.4 kB / 3.266 GB, free: 12.61 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/9.864, allocations: 0 / 3.266 GB, free: 12.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4244/10.29, allocations: 32.67 MB / 3.298 GB, free: 43.77 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/10.29, allocations: 235.7 kB / 3.298 GB, free: 43.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.986/14.27, allocations: 2.031 kB / 3.298 GB, free: 43.54 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat