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.002206/0.002206, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 100 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3573/0.3573, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.324e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4221, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.224/8.646, allocations: 2.753 GB / 3.219 GB, free: 33.8 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/8.647, allocations: 82.89 kB / 3.219 GB, free: 33.76 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.788/10.43, allocations: 288.4 MB / 3.501 GB, free: 74.66 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.964e-06/10.43, allocations: 0 / 3.501 GB, free: 74.66 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 3.054e-05/10.43, allocations: 14.56 kB / 3.501 GB, free: 74.66 MB / 0.4952 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.005563/10.44, allocations: 1.198 MB / 3.502 GB, free: 74.03 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/10.44, allocations: 9.594 kB / 3.502 GB, free: 74.03 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/10.44, allocations: 132 kB / 3.502 GB, free: 74 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/10.44, allocations: 324.1 kB / 3.502 GB, free: 73.8 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/10.44, allocations: 14.16 kB / 3.502 GB, free: 73.8 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/10.44, allocations: 15.75 kB / 3.502 GB, free: 73.8 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000564/10.44, allocations: 207.2 kB / 3.503 GB, free: 73.79 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/10.44, allocations: 301.2 kB / 3.503 GB, free: 73.67 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/10.44, allocations: 1.594 kB / 3.503 GB, free: 73.67 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/10.44, allocations: 7.516 kB / 3.503 GB, free: 73.66 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/10.44, allocations: 7.75 kB / 3.503 GB, free: 73.66 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/10.45, allocations: 2.288 MB / 3.505 GB, free: 71.95 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/10.45, allocations: 120.5 kB / 3.505 GB, free: 71.93 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/10.45, allocations: 55.38 kB / 3.505 GB, free: 71.92 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/10.45, allocations: 486.4 kB / 3.506 GB, free: 71.45 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/10.45, allocations: 34.06 kB / 3.506 GB, free: 71.41 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=12): time 2.956e-06/10.45, allocations: 0 / 3.506 GB, free: 71.41 MB / 0.4952 GB Notification: Performance of matching and sorting (n=12): time 0.001215/10.45, allocations: 253 kB / 3.506 GB, free: 71.37 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/10.45, allocations: 106.8 kB / 3.506 GB, free: 71.24 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/10.45, allocations: 224.8 kB / 3.506 GB, free: 71.14 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/10.45, allocations: 25.7 kB / 3.506 GB, free: 71.11 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/10.45, allocations: 275 kB / 3.507 GB, free: 70.92 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/10.45, allocations: 35.33 kB / 3.507 GB, free: 70.9 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/10.45, allocations: 3.344 kB / 3.507 GB, free: 70.9 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/10.45, allocations: 323 kB / 3.507 GB, free: 70.59 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/10.45, allocations: 39.75 kB / 3.507 GB, free: 70.59 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/10.45, allocations: 156.8 kB / 3.507 GB, free: 70.45 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/10.45, allocations: 81.92 kB / 3.507 GB, free: 70.45 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/10.45, allocations: 3.938 kB / 3.507 GB, free: 70.45 MB / 0.4952 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006559/10.45, allocations: 218.1 kB / 3.508 GB, free: 70.41 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/10.45, allocations: 7.531 kB / 3.508 GB, free: 70.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/10.45, allocations: 7.766 kB / 3.508 GB, free: 70.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/10.45, allocations: 3.188 kB / 3.508 GB, free: 70.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/10.45, allocations: 71.08 kB / 3.508 GB, free: 70.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/10.45, allocations: 7.125 kB / 3.508 GB, free: 70.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/10.45, allocations: 45.86 kB / 3.508 GB, free: 70.39 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/10.45, allocations: 16.28 kB / 3.508 GB, free: 70.39 MB / 0.4952 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 0.0001167/10.45, allocations: 117.7 kB / 3.508 GB, free: 70.29 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000466/10.45, allocations: 141.9 kB / 3.508 GB, free: 70.24 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/10.45, allocations: 26.3 kB / 3.508 GB, free: 70.23 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/10.45, allocations: 0.6954 MB / 3.509 GB, free: 70.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/10.45, allocations: 7.547 kB / 3.509 GB, free: 70.1 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/10.45, allocations: 0 / 3.509 GB, free: 70.1 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/10.45, allocations: 3.516 kB / 3.509 GB, free: 70.1 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/10.46, allocations: 475.9 kB / 3.509 GB, free: 69.92 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/10.46, allocations: 3.906 kB / 3.509 GB, free: 69.92 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/10.46, allocations: 52.52 kB / 3.509 GB, free: 69.92 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/10.46, allocations: 0 / 3.509 GB, free: 69.92 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/10.46, allocations: 7.891 kB / 3.509 GB, free: 69.91 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/10.46, allocations: 0 / 3.509 GB, free: 69.91 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/10.46, allocations: 0 / 3.509 GB, free: 69.91 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/10.46, allocations: 402.4 kB / 3.51 GB, free: 69.74 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/10.46, allocations: 182.5 kB / 3.51 GB, free: 69.61 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/10.46, allocations: 7.203 kB / 3.51 GB, free: 69.61 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/10.46, allocations: 25.02 kB / 3.51 GB, free: 69.6 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/10.46, allocations: 20.27 kB / 3.51 GB, free: 69.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/10.46, allocations: 6.344 kB / 3.51 GB, free: 69.6 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0003773/10.46, allocations: 277.9 kB / 3.51 GB, free: 69.51 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.3e-07/10.46, allocations: 3.938 kB / 3.51 GB, free: 69.51 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004717/10.46, allocations: 0.8541 MB / 3.511 GB, free: 69.37 MB / 0.4952 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.0108/10.47, allocations: 2.185 MB / 3.513 GB, free: 68.53 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0006136/10.47, allocations: 185.8 kB / 3.513 GB, free: 68.53 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/10.47, allocations: 0 / 3.513 GB, free: 68.53 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/10.47, allocations: 132 kB / 3.513 GB, free: 68.53 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/10.48, allocations: 129.2 kB / 3.513 GB, free: 68.52 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/10.48, allocations: 0.9341 MB / 3.514 GB, free: 68.12 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/10.48, allocations: 0.8523 MB / 3.515 GB, free: 67.43 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/10.48, allocations: 154.3 kB / 3.515 GB, free: 67.42 MB / 0.4952 GB Notification: Performance of SimCode: time 1.213e-06/10.48, allocations: 0 / 3.515 GB, free: 67.42 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.336/13.82, allocations: 24.81 MB / 3.54 GB, free: 65.61 MB / 0.4952 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