Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.0103/0.0103, allocations: 175.9 kB / 15.12 MB, free: 5.934 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.079/2.079, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.00203/0.00203, allocations: 116.6 kB / 255.6 MB, free: 11.21 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.2513/0.2513, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005213, allocations: 11.53 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 54.87 MB / 461.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.721/7.832, allocations: 2.587 GB / 3.038 GB, free: 78.01 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/7.832, allocations: 90.05 kB / 3.038 GB, free: 77.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.672/9.504, allocations: 291.1 MB / 3.322 GB, free: 69.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/9.504, allocations: 0 / 3.322 GB, free: 69.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.519e-05/9.504, allocations: 10.44 kB / 3.322 GB, free: 69.04 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00573/9.51, allocations: 1.242 MB / 3.323 GB, free: 68.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/9.51, allocations: 10.88 kB / 3.323 GB, free: 68.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/9.51, allocations: 65.36 kB / 3.323 GB, free: 68.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/9.512, allocations: 117.1 kB / 3.323 GB, free: 68.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008855/9.513, allocations: 358.1 kB / 3.324 GB, free: 68.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/9.513, allocations: 20.06 kB / 3.324 GB, free: 68.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/9.513, allocations: 26.25 kB / 3.324 GB, free: 68.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/9.515, allocations: 467.4 kB / 3.324 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/9.515, allocations: 1.547 kB / 3.324 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/9.515, allocations: 10.53 kB / 3.324 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/9.515, allocations: 7.531 kB / 3.324 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/9.517, allocations: 397.3 kB / 3.325 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/9.52, allocations: 2.264 MB / 3.327 GB, free: 66.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/9.521, allocations: 251 kB / 3.327 GB, free: 66.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/9.522, allocations: 482.6 kB / 3.327 GB, free: 65.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/9.522, allocations: 34.09 kB / 3.327 GB, free: 65.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/9.522, allocations: 2.906 kB / 3.327 GB, free: 65.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.002318/9.524, allocations: 428.9 kB / 3.328 GB, free: 65.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/9.524, allocations: 105.1 kB / 3.328 GB, free: 65.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/9.525, allocations: 239.7 kB / 3.328 GB, free: 65.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/9.525, allocations: 31.48 kB / 3.328 GB, free: 65.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/9.525, allocations: 227.5 kB / 3.328 GB, free: 65.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/9.525, allocations: 35.16 kB / 3.328 GB, free: 65.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/9.525, allocations: 3.875 kB / 3.329 GB, free: 65.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/9.525, allocations: 341.2 kB / 3.329 GB, free: 65.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/9.525, allocations: 86.81 kB / 3.329 GB, free: 65.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/9.526, allocations: 213.3 kB / 3.329 GB, free: 64.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/9.526, allocations: 110.1 kB / 3.329 GB, free: 64.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/9.526, allocations: 3.656 kB / 3.329 GB, free: 64.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001046/9.527, allocations: 327.7 kB / 3.33 GB, free: 64.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/9.527, allocations: 8.656 kB / 3.33 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/9.528, allocations: 6.156 kB / 3.33 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/9.528, allocations: 13.38 kB / 3.33 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/9.528, allocations: 72.28 kB / 3.33 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/9.528, allocations: 13.55 kB / 3.33 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/9.529, allocations: 50.5 kB / 3.33 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/9.529, allocations: 13.31 kB / 3.33 GB, free: 64.86 MB / 490.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.0002322/9.529, allocations: 161.9 kB / 3.33 GB, free: 64.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/9.529, allocations: 23.72 kB / 3.33 GB, free: 64.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/9.53, allocations: 0.6854 MB / 3.331 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/9.531, allocations: 9.953 kB / 3.331 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/9.531, allocations: 1.344 kB / 3.331 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/9.531, allocations: 3.75 kB / 3.331 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/9.531, allocations: 481.5 kB / 3.331 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/9.531, allocations: 0 / 3.331 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/9.532, allocations: 50.03 kB / 3.331 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/9.532, allocations: 1.375 kB / 3.331 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/9.532, allocations: 3.062 kB / 3.331 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/9.532, allocations: 1.375 kB / 3.331 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/9.532, allocations: 3.75 kB / 3.331 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/9.533, allocations: 449.3 kB / 3.332 GB, free: 64.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/9.533, allocations: 144 kB / 3.332 GB, free: 64.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/9.533, allocations: 3.625 kB / 3.332 GB, free: 64.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/9.533, allocations: 26.78 kB / 3.332 GB, free: 64.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/9.533, allocations: 17.53 kB / 3.332 GB, free: 64.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/9.533, allocations: 4.125 kB / 3.332 GB, free: 64.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003582/9.534, allocations: 231.2 kB / 3.332 GB, free: 64.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.534, allocations: 2.297 kB / 3.332 GB, free: 64.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004773/9.538, allocations: 0.8629 MB / 3.333 GB, free: 63.97 MB / 490.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.00996/9.548, allocations: 2.172 MB / 3.335 GB, free: 63.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/9.55, allocations: 268.7 kB / 3.335 GB, free: 63.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/9.55, allocations: 0 / 3.335 GB, free: 63.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/9.55, allocations: 163.1 kB / 3.335 GB, free: 63.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/9.551, allocations: 114.8 kB / 3.335 GB, free: 63.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1875/9.739, allocations: 59.41 MB / 3.393 GB, free: 57.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/9.739, allocations: 0.8263 MB / 3.394 GB, free: 57.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005036/9.74, allocations: 122.1 kB / 3.394 GB, free: 57.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/9.74, allocations: 132.7 kB / 3.394 GB, free: 57.19 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/9.74, allocations: 0 / 3.394 GB, free: 57.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08232/9.822, allocations: 32.11 MB / 3.426 GB, free: 55.49 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/9.823, allocations: 236.9 kB / 3.426 GB, free: 55.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.836/13.66, allocations: 0 / 3.426 GB, free: 55.25 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat