Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001848/0.001848, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 98.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2477/0.2477, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.475/7.632, allocations: 2.754 GB / 3.233 GB, free: 161 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/7.633, allocations: 86.45 kB / 3.233 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9755/8.608, allocations: 292.5 MB / 3.518 GB, free: 79.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.216e-06/8.608, allocations: 4 kB / 3.518 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.223e-05/8.608, allocations: 11.98 kB / 3.518 GB, free: 79.45 MB / 0.5105 GB 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.004988/8.613, allocations: 1.243 MB / 3.52 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/8.613, allocations: 12.03 kB / 3.52 GB, free: 78.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/8.614, allocations: 58.55 kB / 3.52 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009355/8.614, allocations: 123.4 kB / 3.52 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/8.615, allocations: 329.4 kB / 3.52 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/8.615, allocations: 24.5 kB / 3.52 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/8.615, allocations: 24 kB / 3.52 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/8.616, allocations: 463.1 kB / 3.521 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/8.616, allocations: 4.344 kB / 3.521 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/8.616, allocations: 15.95 kB / 3.521 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/8.616, allocations: 4 kB / 3.521 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009461/8.617, allocations: 397.3 kB / 3.521 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/8.62, allocations: 2.356 MB / 3.523 GB, free: 74.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/8.62, allocations: 282.3 kB / 3.524 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/8.621, allocations: 480.3 kB / 3.524 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/8.621, allocations: 38.72 kB / 3.524 GB, free: 73.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.535e-06/8.621, allocations: 0 / 3.524 GB, free: 73.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.00142/8.622, allocations: 472.9 kB / 3.525 GB, free: 72.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/8.622, allocations: 102.8 kB / 3.525 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/8.623, allocations: 287.6 kB / 3.525 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/8.623, allocations: 25.7 kB / 3.525 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/8.623, allocations: 215.6 kB / 3.525 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/8.623, allocations: 39.39 kB / 3.525 GB, free: 72.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/8.623, allocations: 8 kB / 3.525 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/8.623, allocations: 338.8 kB / 3.526 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/8.623, allocations: 91.94 kB / 3.526 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/8.623, allocations: 199.8 kB / 3.526 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/8.624, allocations: 103.9 kB / 3.526 GB, free: 71.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/8.624, allocations: 4 kB / 3.526 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005999/8.624, allocations: 321.1 kB / 3.526 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/8.624, allocations: 6.5 kB / 3.526 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/8.624, allocations: 4 kB / 3.526 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/8.624, allocations: 12 kB / 3.526 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/8.625, allocations: 67.89 kB / 3.526 GB, free: 70.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/8.625, allocations: 15.86 kB / 3.526 GB, free: 70.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/8.625, allocations: 59.81 kB / 3.526 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/8.625, allocations: 8 kB / 3.526 GB, free: 70.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (27): * Single equations (assignments): 27 * 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.0001537/8.625, allocations: 161.7 kB / 3.527 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/8.625, allocations: 31.58 kB / 3.527 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009649/8.626, allocations: 0.7689 MB / 3.527 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/8.626, allocations: 3.984 kB / 3.527 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/8.626, allocations: 8 kB / 3.527 GB, free: 69.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/8.626, allocations: 0 / 3.527 GB, free: 69.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/8.627, allocations: 0.518 MB / 3.528 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/8.627, allocations: 0 / 3.528 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/8.627, allocations: 59.89 kB / 3.528 GB, free: 69.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/8.627, allocations: 7.953 kB / 3.528 GB, free: 69.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/8.627, allocations: 3.984 kB / 3.528 GB, free: 69.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/8.627, allocations: 0 / 3.528 GB, free: 69.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/8.627, allocations: 4 kB / 3.528 GB, free: 69.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/8.627, allocations: 457.7 kB / 3.528 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/8.628, allocations: 192.1 kB / 3.529 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/8.628, allocations: 3.953 kB / 3.529 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/8.628, allocations: 31.97 kB / 3.529 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/8.628, allocations: 15.97 kB / 3.529 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/8.628, allocations: 7.938 kB / 3.529 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002877/8.628, allocations: 338.9 kB / 3.529 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/8.628, allocations: 4 kB / 3.529 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004808/8.633, allocations: 0.8663 MB / 3.53 GB, free: 67.19 MB / 0.5105 GB 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.008533/8.642, allocations: 2.191 MB / 3.532 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008455/8.642, allocations: 276.5 kB / 3.532 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/8.642, allocations: 0 / 3.532 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/8.643, allocations: 163.9 kB / 3.532 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/8.644, allocations: 169.7 kB / 3.532 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006669/8.65, allocations: 4.809 MB / 3.537 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/8.651, allocations: 0.8619 MB / 3.538 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000369/8.651, allocations: 126.8 kB / 3.538 GB, free: 58.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/8.651, allocations: 155.6 kB / 3.538 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of SimCode: time 8.175e-06/8.651, allocations: 0 / 3.538 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/8.712, allocations: 34.14 MB / 3.572 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/8.712, allocations: 233.2 kB / 3.572 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/11.86, allocations: 4 kB / 3.572 GB, free: 23.89 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat