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.001733/0.001733, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 78.23 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2344/0.2344, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.863e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.656, allocations: 2.753 GB / 3.219 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/7.656, allocations: 91.95 kB / 3.219 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9509/8.607, allocations: 288.4 MB / 3.501 GB, free: 32.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.865e-06/8.607, allocations: 0 / 3.501 GB, free: 32.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.337e-05/8.607, allocations: 12 kB / 3.501 GB, free: 32.82 MB / 0.4948 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.004855/8.612, allocations: 1.211 MB / 3.502 GB, free: 31.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/8.612, allocations: 8.031 kB / 3.502 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/8.613, allocations: 115.4 kB / 3.502 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/8.614, allocations: 325.3 kB / 3.502 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/8.614, allocations: 16 kB / 3.502 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/8.614, allocations: 16 kB / 3.502 GB, free: 31.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003164/8.614, allocations: 213 kB / 3.503 GB, free: 30.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/8.614, allocations: 310.2 kB / 3.503 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/8.614, allocations: 4 kB / 3.503 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/8.614, allocations: 3.953 kB / 3.503 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/8.615, allocations: 8 kB / 3.503 GB, free: 30.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/8.617, allocations: 2.289 MB / 3.505 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/8.617, allocations: 114.6 kB / 3.505 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/8.617, allocations: 60.8 kB / 3.505 GB, free: 27.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/8.618, allocations: 480.2 kB / 3.506 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/8.618, allocations: 38.55 kB / 3.506 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/8.618, allocations: 0 / 3.506 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0007578/8.618, allocations: 249.4 kB / 3.506 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/8.618, allocations: 106.8 kB / 3.506 GB, free: 26.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/8.619, allocations: 230.1 kB / 3.506 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/8.619, allocations: 29.7 kB / 3.506 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/8.619, allocations: 211.6 kB / 3.507 GB, free: 26.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/8.619, allocations: 39.45 kB / 3.507 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/8.619, allocations: 7.938 kB / 3.507 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/8.619, allocations: 330.8 kB / 3.507 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/8.619, allocations: 44.47 kB / 3.507 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/8.619, allocations: 163.4 kB / 3.507 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/8.619, allocations: 75.98 kB / 3.507 GB, free: 25.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/8.619, allocations: 7.938 kB / 3.507 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004064/8.62, allocations: 225.2 kB / 3.508 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/8.62, allocations: 11.94 kB / 3.508 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/8.62, allocations: 4 kB / 3.508 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/8.62, allocations: 8 kB / 3.508 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/8.62, allocations: 68.3 kB / 3.508 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/8.62, allocations: 19.92 kB / 3.508 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/8.62, allocations: 35.73 kB / 3.508 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/8.62, allocations: 19.98 kB / 3.508 GB, free: 25.25 MB / 0.4948 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 8.154e-05/8.62, allocations: 117.3 kB / 3.508 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002586/8.621, allocations: 137.3 kB / 3.508 GB, free: 24.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/8.621, allocations: 31.66 kB / 3.508 GB, free: 24.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006499/8.621, allocations: 0.6889 MB / 3.509 GB, free: 24.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/8.621, allocations: 11.97 kB / 3.509 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/8.621, allocations: 4 kB / 3.509 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/8.621, allocations: 0 / 3.509 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/8.622, allocations: 471.2 kB / 3.509 GB, free: 23.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/8.622, allocations: 7.922 kB / 3.509 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/8.622, allocations: 55.95 kB / 3.509 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/8.622, allocations: 3.953 kB / 3.509 GB, free: 23.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/8.622, allocations: 0 / 3.509 GB, free: 23.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/8.622, allocations: 0 / 3.509 GB, free: 23.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/8.622, allocations: 4 kB / 3.509 GB, free: 23.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/8.622, allocations: 397.7 kB / 3.51 GB, free: 23.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/8.623, allocations: 184.2 kB / 3.51 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/8.623, allocations: 3.953 kB / 3.51 GB, free: 23.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/8.623, allocations: 31.88 kB / 3.51 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/8.623, allocations: 15.97 kB / 3.51 GB, free: 23.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/8.623, allocations: 11.94 kB / 3.51 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002102/8.623, allocations: 275 kB / 3.51 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/8.623, allocations: 0 / 3.51 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004512/8.628, allocations: 0.8429 MB / 3.511 GB, free: 21.91 MB / 0.4948 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.008698/8.636, allocations: 2.2 MB / 3.513 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004527/8.637, allocations: 175.8 kB / 3.513 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/8.637, allocations: 0 / 3.513 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/8.637, allocations: 131.9 kB / 3.513 GB, free: 19.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/8.638, allocations: 126.1 kB / 3.513 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/8.642, allocations: 0.891 MB / 3.514 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/8.642, allocations: 0.8502 MB / 3.515 GB, free: 17.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002939/8.642, allocations: 123.6 kB / 3.515 GB, free: 17.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/8.642, allocations: 155.4 kB / 3.515 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/8.642, allocations: 0 / 3.515 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.402/9.044, allocations: 29.28 MB / 3.544 GB, free: 61 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/9.045, allocations: 194.7 kB / 3.544 GB, free: 60.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/12, allocations: 0 / 3.544 GB, free: 60.81 MB / 0.4948 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