Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002378/0.002378, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001118/0.001118, allocations: 90.66 kB / 267.5 MB, free: 14.04 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.2894/0.2894, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.831e-05, allocations: 11.98 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.468/8.596, allocations: 2.754 GB / 3.227 GB, free: 87 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/8.597, allocations: 85.5 kB / 3.227 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.362/9.959, allocations: 291.7 MB / 3.512 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/9.959, allocations: 4 kB / 3.512 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.763e-05/9.959, allocations: 11.98 kB / 3.512 GB, free: 16.23 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.005058/9.964, allocations: 1.203 MB / 3.513 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/9.964, allocations: 8.031 kB / 3.513 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/9.964, allocations: 62.53 kB / 3.513 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/9.966, allocations: 119.4 kB / 3.513 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/9.966, allocations: 333.4 kB / 3.513 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/9.966, allocations: 20.56 kB / 3.513 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/9.966, allocations: 24 kB / 3.513 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/9.968, allocations: 435 kB / 3.514 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/9.968, allocations: 4.281 kB / 3.514 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/9.968, allocations: 15.95 kB / 3.514 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/9.968, allocations: 8 kB / 3.514 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/9.969, allocations: 333.4 kB / 3.514 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/9.973, allocations: 2.375 MB / 3.516 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/9.974, allocations: 230.1 kB / 3.517 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/9.974, allocations: 52.86 kB / 3.517 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/9.974, allocations: 481.5 kB / 3.517 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/9.974, allocations: 34.56 kB / 3.517 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/9.974, allocations: 0 / 3.517 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001584/9.976, allocations: 353.2 kB / 3.517 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/9.976, allocations: 102.8 kB / 3.518 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/9.976, allocations: 282.6 kB / 3.518 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/9.976, allocations: 29.7 kB / 3.518 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/9.977, allocations: 262 kB / 3.518 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/9.977, allocations: 47.45 kB / 3.518 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/9.977, allocations: 4 kB / 3.518 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/9.977, allocations: 322.8 kB / 3.518 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/9.977, allocations: 44 kB / 3.519 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/9.977, allocations: 170.1 kB / 3.519 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/9.977, allocations: 64.02 kB / 3.519 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/9.977, allocations: 0 / 3.519 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005153/9.978, allocations: 241.1 kB / 3.519 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/9.978, allocations: 8 kB / 3.519 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/9.978, allocations: 4 kB / 3.519 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/9.978, allocations: 4 kB / 3.519 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/9.978, allocations: 80.3 kB / 3.519 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/9.978, allocations: 4 kB / 3.519 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/9.979, allocations: 51.66 kB / 3.519 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/9.979, allocations: 16 kB / 3.519 GB, free: 7.914 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 () * 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 9.165e-05/9.979, allocations: 116.9 kB / 3.519 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/9.979, allocations: 35.58 kB / 3.519 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000937/9.98, allocations: 0.6976 MB / 3.52 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/9.98, allocations: 8 kB / 3.52 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/9.98, allocations: 7.984 kB / 3.52 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/9.98, allocations: 0 / 3.52 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/9.981, allocations: 0.5219 MB / 3.52 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/9.981, allocations: 0 / 3.52 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/9.981, allocations: 51.95 kB / 3.521 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/9.981, allocations: 3.953 kB / 3.521 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/9.981, allocations: 11.94 kB / 3.521 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/9.981, allocations: 0 / 3.521 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/9.981, allocations: 0 / 3.521 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/9.982, allocations: 389.7 kB / 3.521 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/9.982, allocations: 196.1 kB / 3.521 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/9.982, allocations: 0 / 3.521 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/9.982, allocations: 27.98 kB / 3.521 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/9.982, allocations: 15.97 kB / 3.521 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/9.983, allocations: 11.92 kB / 3.521 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004556/9.983, allocations: 333.6 kB / 3.521 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/9.983, allocations: 0 / 3.521 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004324/9.987, allocations: 0.8663 MB / 3.522 GB, free: 4.547 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 () * 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.007457/9.995, allocations: 2.132 MB / 3.524 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005811/9.995, allocations: 195.8 kB / 3.525 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/9.995, allocations: 0 / 3.525 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/9.996, allocations: 131.9 kB / 3.525 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/9.997, allocations: 171.1 kB / 3.525 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/10, allocations: 0.9296 MB / 3.526 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/10, allocations: 0.8544 MB / 3.527 GB, free: 52 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3605/10.36, allocations: 155.9 kB / 3.527 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of SimCode: time 2.926e-06/10.36, allocations: 0 / 3.527 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.375/13.74, allocations: 24.74 MB / 3.551 GB, free: 79.32 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat