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.002321/0.002326, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.018/2.018, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001172/0.001172, allocations: 103.3 kB / 270.9 MB, free: 8.355 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.5142/0.5142, allocations: 43.54 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006514/0.0006515, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1271, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.566/8.693, allocations: 2.754 GB / 3.233 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/8.693, allocations: 87.27 kB / 3.233 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.721/10.41, allocations: 292.5 MB / 3.518 GB, free: 56.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.315e-06/10.41, allocations: 1.031 kB / 3.518 GB, free: 56.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.82e-05/10.41, allocations: 9.312 kB / 3.518 GB, free: 56.44 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.005381/10.42, allocations: 1.242 MB / 3.52 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/10.42, allocations: 10.28 kB / 3.52 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/10.42, allocations: 64.34 kB / 3.52 GB, free: 55.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/10.42, allocations: 120 kB / 3.52 GB, free: 55.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/10.42, allocations: 329.4 kB / 3.52 GB, free: 55.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/10.42, allocations: 31.34 kB / 3.52 GB, free: 55.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/10.42, allocations: 25.22 kB / 3.52 GB, free: 55.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/10.42, allocations: 456.6 kB / 3.521 GB, free: 55.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/10.42, allocations: 5.938 kB / 3.521 GB, free: 55.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/10.42, allocations: 13.8 kB / 3.521 GB, free: 55.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/10.42, allocations: 15.31 kB / 3.521 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/10.43, allocations: 392.1 kB / 3.521 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/10.43, allocations: 2.358 MB / 3.523 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/10.43, allocations: 281 kB / 3.524 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/10.43, allocations: 484.3 kB / 3.524 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/10.43, allocations: 37.81 kB / 3.524 GB, free: 53.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.936e-06/10.43, allocations: 0 / 3.524 GB, free: 53.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.00261/10.43, allocations: 469.5 kB / 3.525 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/10.43, allocations: 108.6 kB / 3.525 GB, free: 53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/10.44, allocations: 282.4 kB / 3.525 GB, free: 52.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/10.44, allocations: 29.02 kB / 3.525 GB, free: 52.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/10.44, allocations: 259.2 kB / 3.525 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/10.44, allocations: 43.14 kB / 3.525 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/10.44, allocations: 3.875 kB / 3.525 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/10.44, allocations: 322.4 kB / 3.526 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/10.44, allocations: 84.95 kB / 3.526 GB, free: 52.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/10.44, allocations: 204.2 kB / 3.526 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/10.44, allocations: 104.2 kB / 3.526 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/10.44, allocations: 3.75 kB / 3.526 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001154/10.44, allocations: 303.1 kB / 3.526 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/10.44, allocations: 11.92 kB / 3.526 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/10.44, allocations: 3.469 kB / 3.526 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/10.44, allocations: 6.875 kB / 3.526 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/10.44, allocations: 67.11 kB / 3.526 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/10.44, allocations: 15.92 kB / 3.526 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/10.44, allocations: 51.7 kB / 3.526 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/10.44, allocations: 17.97 kB / 3.526 GB, free: 52.16 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 () * 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.0002345/10.44, allocations: 156.5 kB / 3.527 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/10.44, allocations: 34.06 kB / 3.527 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/10.44, allocations: 0.7685 MB / 3.527 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/10.44, allocations: 3.969 kB / 3.527 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/10.44, allocations: 1.125 kB / 3.527 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/10.44, allocations: 3.656 kB / 3.527 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/10.44, allocations: 0.5197 MB / 3.528 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/10.44, allocations: 3.938 kB / 3.528 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/10.44, allocations: 57.7 kB / 3.528 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/10.44, allocations: 0 / 3.528 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/10.44, allocations: 7.078 kB / 3.528 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/10.44, allocations: 3.844 kB / 3.528 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/10.44, allocations: 0 / 3.528 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/10.44, allocations: 471.9 kB / 3.528 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/10.44, allocations: 185.5 kB / 3.528 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/10.44, allocations: 9.953 kB / 3.529 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/10.44, allocations: 29.5 kB / 3.529 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/10.44, allocations: 20.2 kB / 3.529 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/10.44, allocations: 5.781 kB / 3.529 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005267/10.44, allocations: 342.4 kB / 3.529 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/10.44, allocations: 2.953 kB / 3.529 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004418/10.45, allocations: 0.864 MB / 3.53 GB, free: 51.2 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 () * 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.009276/10.46, allocations: 2.192 MB / 3.532 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001208/10.46, allocations: 265.4 kB / 3.532 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/10.46, allocations: 3 kB / 3.532 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004684/10.46, allocations: 163.6 kB / 3.532 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/10.46, allocations: 172.7 kB / 3.532 GB, free: 50.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/10.47, allocations: 4.845 MB / 3.537 GB, free: 46.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/10.47, allocations: 0.8524 MB / 3.538 GB, free: 46.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/10.47, allocations: 158.5 kB / 3.538 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/10.47, allocations: 5.156 kB / 3.538 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.662/14.13, allocations: 24.65 MB / 3.562 GB, free: 44.56 MB / 0.4948 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