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.001249/0.001249, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009838, allocations: 92.97 kB / 281.6 MB, free: 5.336 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.2191/0.2191, allocations: 44.14 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.588e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1483, allocations: 61.91 MB / 0.4948 GB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.647/7.795, allocations: 2.758 GB / 3.253 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/7.796, allocations: 80.05 kB / 3.253 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9814/8.777, allocations: 291.5 MB / 3.538 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/8.777, allocations: 0 / 3.538 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.242e-05/8.777, allocations: 8 kB / 3.538 GB, free: 81.61 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.005074/8.782, allocations: 1.201 MB / 3.539 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/8.782, allocations: 11.98 kB / 3.539 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009963/8.783, allocations: 124.1 kB / 3.539 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/8.784, allocations: 334.6 kB / 3.54 GB, free: 79.87 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/8.784, allocations: 12 kB / 3.54 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/8.784, allocations: 15.98 kB / 3.54 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003525/8.784, allocations: 209 kB / 3.54 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/8.785, allocations: 306 kB / 3.54 GB, free: 79.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/8.785, allocations: 3.938 kB / 3.54 GB, free: 79.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/8.785, allocations: 4 kB / 3.54 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/8.785, allocations: 4 kB / 3.54 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/8.787, allocations: 2.288 MB / 3.542 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/8.788, allocations: 130.4 kB / 3.542 GB, free: 76.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/8.788, allocations: 52.86 kB / 3.542 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/8.788, allocations: 481.4 kB / 3.543 GB, free: 76.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/8.788, allocations: 34.56 kB / 3.543 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/8.788, allocations: 4 kB / 3.543 GB, free: 76.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0007773/8.789, allocations: 249.2 kB / 3.543 GB, free: 75.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/8.789, allocations: 110.8 kB / 3.543 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/8.789, allocations: 218.3 kB / 3.544 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/8.789, allocations: 25.7 kB / 3.544 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/8.789, allocations: 219.8 kB / 3.544 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/8.789, allocations: 43.39 kB / 3.544 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/8.789, allocations: 0 / 3.544 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/8.789, allocations: 334.8 kB / 3.544 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/8.789, allocations: 40 kB / 3.544 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/8.79, allocations: 163.4 kB / 3.544 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/8.79, allocations: 79.92 kB / 3.544 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/8.79, allocations: 0 / 3.544 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003785/8.79, allocations: 229.1 kB / 3.545 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/8.79, allocations: 7.938 kB / 3.545 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/8.79, allocations: 4 kB / 3.545 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/8.79, allocations: 8 kB / 3.545 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/8.79, allocations: 72.36 kB / 3.545 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/8.79, allocations: 11.94 kB / 3.545 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/8.791, allocations: 51.61 kB / 3.545 GB, free: 74.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/8.791, allocations: 16 kB / 3.545 GB, free: 74.05 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 () * 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 7.923e-05/8.791, allocations: 114 kB / 3.545 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00026/8.791, allocations: 141.4 kB / 3.545 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/8.791, allocations: 23.72 kB / 3.545 GB, free: 73.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006698/8.792, allocations: 0.6851 MB / 3.546 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/8.792, allocations: 7.938 kB / 3.546 GB, free: 73.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/8.792, allocations: 7.938 kB / 3.546 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/8.792, allocations: 0 / 3.546 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/8.792, allocations: 490.3 kB / 3.546 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/8.792, allocations: 0 / 3.546 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/8.792, allocations: 47.95 kB / 3.546 GB, free: 72.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/8.792, allocations: 4 kB / 3.546 GB, free: 72.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/8.793, allocations: 4 kB / 3.546 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/8.793, allocations: 0 / 3.546 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/8.793, allocations: 0 / 3.546 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/8.793, allocations: 397.8 kB / 3.547 GB, free: 72.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/8.793, allocations: 180.2 kB / 3.547 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/8.793, allocations: 7.984 kB / 3.547 GB, free: 71.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/8.793, allocations: 27.89 kB / 3.547 GB, free: 71.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/8.793, allocations: 19.91 kB / 3.547 GB, free: 71.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/8.793, allocations: 7.953 kB / 3.547 GB, free: 71.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002154/8.794, allocations: 279 kB / 3.547 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/8.794, allocations: 0 / 3.547 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004444/8.798, allocations: 0.8506 MB / 3.548 GB, free: 70.7 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 () * 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.008771/8.807, allocations: 2.196 MB / 3.55 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005027/8.807, allocations: 191.8 kB / 3.55 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/8.807, allocations: 0 / 3.55 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/8.808, allocations: 128.8 kB / 3.55 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/8.808, allocations: 121.8 kB / 3.551 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/8.813, allocations: 0.893 MB / 3.551 GB, free: 67.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/8.813, allocations: 0.8541 MB / 3.552 GB, free: 66.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000333/8.813, allocations: 120.5 kB / 3.552 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/8.814, allocations: 155.4 kB / 3.552 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/8.814, allocations: 7.938 kB / 3.552 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/8.874, allocations: 29.3 MB / 3.581 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/8.874, allocations: 189 kB / 3.581 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/11.91, allocations: 0 / 3.581 GB, free: 36.59 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