Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 179.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 99.78 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.133e-05, allocations: 8.156 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.613/7.766, allocations: 2.759 GB / 3.261 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/7.766, allocations: 84.8 kB / 3.261 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.965/8.731, allocations: 294.8 MB / 3.549 GB, free: 91.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.093e-06/8.731, allocations: 0 / 3.549 GB, free: 91.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.951e-05/8.731, allocations: 7.406 kB / 3.549 GB, free: 91.25 MB / 0.5261 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.004767/8.736, allocations: 1.209 MB / 3.55 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/8.736, allocations: 14.59 kB / 3.55 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/8.736, allocations: 57.23 kB / 3.55 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/8.737, allocations: 122.4 kB / 3.55 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/8.738, allocations: 336.7 kB / 3.55 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/8.738, allocations: 20 kB / 3.551 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/8.738, allocations: 23.09 kB / 3.551 GB, free: 90.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/8.739, allocations: 437.7 kB / 3.551 GB, free: 89.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/8.739, allocations: 7.938 kB / 3.551 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/8.739, allocations: 11.94 kB / 3.551 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/8.739, allocations: 7.906 kB / 3.551 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/8.739, allocations: 333.4 kB / 3.551 GB, free: 89.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/8.742, allocations: 2.37 MB / 3.554 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/8.742, allocations: 230.8 kB / 3.554 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/8.742, allocations: 58.47 kB / 3.554 GB, free: 87.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/8.743, allocations: 473.8 kB / 3.554 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/8.743, allocations: 34.56 kB / 3.554 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/8.743, allocations: 3.625 kB / 3.554 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001008/8.744, allocations: 350.8 kB / 3.555 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/8.744, allocations: 106.8 kB / 3.555 GB, free: 86.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/8.744, allocations: 287.3 kB / 3.555 GB, free: 86.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/8.744, allocations: 25.7 kB / 3.555 GB, free: 86.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/8.744, allocations: 215.7 kB / 3.555 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/8.744, allocations: 39.09 kB / 3.555 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/8.744, allocations: 0 / 3.555 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/8.744, allocations: 341.8 kB / 3.556 GB, free: 86.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/8.744, allocations: 47.56 kB / 3.556 GB, free: 86.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/8.745, allocations: 166.4 kB / 3.556 GB, free: 85.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/8.745, allocations: 69.5 kB / 3.556 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/8.745, allocations: 3.906 kB / 3.556 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003261/8.745, allocations: 246.5 kB / 3.556 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/8.745, allocations: 16.45 kB / 3.556 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/8.745, allocations: 3.531 kB / 3.556 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/8.745, allocations: 3.281 kB / 3.556 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/8.745, allocations: 71.66 kB / 3.556 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/8.745, allocations: 7.297 kB / 3.556 GB, free: 85.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/8.746, allocations: 55.75 kB / 3.556 GB, free: 85.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/8.746, allocations: 11.41 kB / 3.556 GB, free: 85.72 MB / 0.5261 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 () * 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 7.221e-05/8.746, allocations: 123.9 kB / 3.556 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/8.746, allocations: 30.12 kB / 3.556 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/8.746, allocations: 0.6969 MB / 3.557 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/8.747, allocations: 11.14 kB / 3.557 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/8.747, allocations: 3.953 kB / 3.557 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/8.747, allocations: 0 / 3.557 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/8.747, allocations: 0.5232 MB / 3.558 GB, free: 84.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/8.747, allocations: 0 / 3.558 GB, free: 84.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/8.747, allocations: 58.97 kB / 3.558 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/8.747, allocations: 0 / 3.558 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/8.747, allocations: 0 / 3.558 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/8.747, allocations: 8 kB / 3.558 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/8.747, allocations: 0 / 3.558 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/8.748, allocations: 403.7 kB / 3.558 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/8.748, allocations: 185.4 kB / 3.558 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/8.748, allocations: 8 kB / 3.558 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/8.748, allocations: 27.36 kB / 3.558 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/8.748, allocations: 19.5 kB / 3.558 GB, free: 83.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/8.748, allocations: 7.953 kB / 3.558 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002877/8.748, allocations: 342.1 kB / 3.559 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/8.748, allocations: 0 / 3.559 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004413/8.753, allocations: 0.8591 MB / 3.56 GB, free: 82.74 MB / 0.5261 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 () * 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.005478/8.758, allocations: 2.133 MB / 3.562 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003923/8.759, allocations: 203.7 kB / 3.562 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/8.759, allocations: 0 / 3.562 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/8.759, allocations: 123.7 kB / 3.562 GB, free: 80.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/8.76, allocations: 168.7 kB / 3.562 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/8.762, allocations: 0.9199 MB / 3.563 GB, free: 79.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/8.762, allocations: 0.8504 MB / 3.564 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002853/8.762, allocations: 133.1 kB / 3.564 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/8.763, allocations: 158.3 kB / 3.564 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/8.763, allocations: 0 / 3.564 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06383/8.826, allocations: 36.19 MB / 3.599 GB, free: 42.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/8.827, allocations: 212.7 kB / 3.6 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/12.01, allocations: 3.938 kB / 3.6 GB, free: 42.58 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat