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.001581/0.001581, allocations: 175.8 kB / 17.06 MB, free: 5.098 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.508/1.508, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009603, allocations: 102.1 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4218/0.4218, allocations: 44.2 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4564, allocations: 61.91 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.63/8.087, allocations: 2.759 GB / 3.269 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/8.087, allocations: 91.91 kB / 3.269 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.037/9.124, allocations: 295.6 MB / 3.558 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.237e-06/9.124, allocations: 0 / 3.558 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.571e-05/9.124, allocations: 8 kB / 3.558 GB, free: 18.45 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.006107/9.13, allocations: 1.244 MB / 3.559 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/9.13, allocations: 8.031 kB / 3.559 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.589e-05/9.13, allocations: 66.47 kB / 3.559 GB, free: 17.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/9.131, allocations: 124.1 kB / 3.559 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/9.132, allocations: 329.4 kB / 3.559 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/9.132, allocations: 20.56 kB / 3.559 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/9.132, allocations: 27.94 kB / 3.559 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/9.133, allocations: 470.9 kB / 3.56 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/9.133, allocations: 0 / 3.56 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/9.133, allocations: 12 kB / 3.56 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/9.133, allocations: 8 kB / 3.56 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009615/9.134, allocations: 393.3 kB / 3.56 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/9.137, allocations: 2.364 MB / 3.562 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/9.138, allocations: 274.4 kB / 3.563 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/9.139, allocations: 477.5 kB / 3.563 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/9.139, allocations: 38.56 kB / 3.563 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/9.139, allocations: 4 kB / 3.563 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001492/9.14, allocations: 465.1 kB / 3.564 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/9.14, allocations: 106.8 kB / 3.564 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/9.14, allocations: 287.6 kB / 3.564 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/9.14, allocations: 29.7 kB / 3.564 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/9.141, allocations: 211.6 kB / 3.564 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/9.141, allocations: 43.44 kB / 3.564 GB, free: 11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/9.141, allocations: 4 kB / 3.564 GB, free: 11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/9.141, allocations: 338.8 kB / 3.565 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/9.141, allocations: 87.94 kB / 3.565 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/9.141, allocations: 204.8 kB / 3.565 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/9.142, allocations: 111.9 kB / 3.565 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/9.142, allocations: 0 / 3.565 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006078/9.142, allocations: 321.5 kB / 3.565 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/9.142, allocations: 8 kB / 3.565 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/9.142, allocations: 4 kB / 3.565 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/9.142, allocations: 4 kB / 3.565 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/9.142, allocations: 71.89 kB / 3.565 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/9.142, allocations: 15.88 kB / 3.565 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/9.143, allocations: 51.92 kB / 3.565 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/9.143, allocations: 12 kB / 3.565 GB, free: 9.723 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 () * 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.0001586/9.143, allocations: 158.2 kB / 3.566 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/9.143, allocations: 31.62 kB / 3.566 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009965/9.144, allocations: 0.764 MB / 3.566 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/9.144, allocations: 11.94 kB / 3.566 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/9.144, allocations: 7.938 kB / 3.566 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/9.144, allocations: 0 / 3.566 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/9.145, allocations: 0.5142 MB / 3.567 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/9.145, allocations: 0 / 3.567 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/9.145, allocations: 59.89 kB / 3.567 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/9.145, allocations: 0 / 3.567 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/9.145, allocations: 4 kB / 3.567 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/9.145, allocations: 4 kB / 3.567 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/9.145, allocations: 0 / 3.567 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/9.145, allocations: 473.6 kB / 3.567 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/9.146, allocations: 184.2 kB / 3.568 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/9.146, allocations: 7.984 kB / 3.568 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/9.146, allocations: 31.83 kB / 3.568 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/9.146, allocations: 19.97 kB / 3.568 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/9.146, allocations: 7.953 kB / 3.568 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003633/9.146, allocations: 342.8 kB / 3.568 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/9.146, allocations: 0 / 3.568 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005906/9.152, allocations: 0.8703 MB / 3.569 GB, free: 6.156 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 () * 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.009277/9.162, allocations: 2.178 MB / 3.571 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000872/9.163, allocations: 272.5 kB / 3.571 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/9.163, allocations: 4 kB / 3.571 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/9.163, allocations: 163.9 kB / 3.571 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/9.164, allocations: 180.1 kB / 3.572 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3503/9.514, allocations: 4.796 MB / 3.576 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/9.515, allocations: 0.8533 MB / 3.577 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005635/9.515, allocations: 128.6 kB / 3.577 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/9.516, allocations: 154.3 kB / 3.577 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of SimCode: time 3.427e-06/9.516, allocations: 0 / 3.577 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08431/9.6, allocations: 34.16 MB / 3.611 GB, free: 67.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/9.6, allocations: 240.4 kB / 3.611 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/12.76, allocations: 0 / 3.611 GB, free: 66.82 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