Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002138/0.002138, allocations: 197.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.908/1.908, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.001089, allocations: 100.9 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5411/0.5411, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5178, allocations: 63.25 MB / 0.5193 GB, free: 43.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.773/8.291, allocations: 2.76 GB / 3.279 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/8.291, allocations: 92.77 kB / 3.28 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/9.821, allocations: 295.6 MB / 3.568 GB, free: 87.85 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/9.821, allocations: 0 / 3.568 GB, free: 87.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.958e-05/9.821, allocations: 14.72 kB / 3.568 GB, free: 87.84 MB / 0.5417 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.005834/9.827, allocations: 1.255 MB / 3.569 GB, free: 87.17 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/9.827, allocations: 9.656 kB / 3.569 GB, free: 87.17 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.433e-05/9.827, allocations: 66.14 kB / 3.57 GB, free: 87.13 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/9.828, allocations: 133.8 kB / 3.57 GB, free: 87.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/9.829, allocations: 326.5 kB / 3.57 GB, free: 86.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/9.829, allocations: 20.97 kB / 3.57 GB, free: 86.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/9.829, allocations: 29.22 kB / 3.57 GB, free: 86.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/9.83, allocations: 459.9 kB / 3.57 GB, free: 86.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/9.83, allocations: 7.562 kB / 3.57 GB, free: 86.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/9.83, allocations: 17.97 kB / 3.57 GB, free: 86.78 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/9.83, allocations: 10.8 kB / 3.571 GB, free: 86.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/9.831, allocations: 396.5 kB / 3.571 GB, free: 86.78 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/9.834, allocations: 2.359 MB / 3.573 GB, free: 85.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/9.835, allocations: 280.3 kB / 3.573 GB, free: 85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004108/9.836, allocations: 473 kB / 3.574 GB, free: 84.53 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/9.836, allocations: 39.92 kB / 3.574 GB, free: 84.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 3.858e-06/9.836, allocations: 0 / 3.574 GB, free: 84.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12): time 0.001746/9.838, allocations: 465 kB / 3.574 GB, free: 84.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/9.838, allocations: 108.6 kB / 3.574 GB, free: 84.31 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/9.838, allocations: 282.6 kB / 3.575 GB, free: 84.15 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/9.838, allocations: 25.7 kB / 3.575 GB, free: 84.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/9.838, allocations: 217.1 kB / 3.575 GB, free: 83.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/9.838, allocations: 36.69 kB / 3.575 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/9.838, allocations: 4 kB / 3.575 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001075/9.838, allocations: 341.6 kB / 3.575 GB, free: 83.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/9.839, allocations: 88.58 kB / 3.575 GB, free: 83.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/9.839, allocations: 206.2 kB / 3.576 GB, free: 83.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/9.839, allocations: 103.6 kB / 3.576 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/9.839, allocations: 0 / 3.576 GB, free: 83.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006468/9.84, allocations: 329.5 kB / 3.576 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/9.84, allocations: 11.36 kB / 3.576 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/9.84, allocations: 3.938 kB / 3.576 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/9.84, allocations: 3.938 kB / 3.576 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/9.84, allocations: 68.47 kB / 3.576 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/9.84, allocations: 6.328 kB / 3.576 GB, free: 83.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/9.84, allocations: 57.92 kB / 3.576 GB, free: 83.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/9.84, allocations: 7.781 kB / 3.576 GB, free: 83.25 MB / 0.5417 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.000163/9.841, allocations: 159.6 kB / 3.576 GB, free: 83.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/9.841, allocations: 35.17 kB / 3.576 GB, free: 83.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/9.842, allocations: 0.7743 MB / 3.577 GB, free: 82.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/9.842, allocations: 11.38 kB / 3.577 GB, free: 82.76 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/9.842, allocations: 0 / 3.577 GB, free: 82.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/9.842, allocations: 0 / 3.577 GB, free: 82.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/9.842, allocations: 0.5194 MB / 3.578 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/9.842, allocations: 0 / 3.578 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/9.843, allocations: 56.08 kB / 3.578 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/9.843, allocations: 0 / 3.578 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/9.843, allocations: 7.516 kB / 3.578 GB, free: 82.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/9.843, allocations: 3.281 kB / 3.578 GB, free: 82.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/9.843, allocations: 0 / 3.578 GB, free: 82.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/9.843, allocations: 471.2 kB / 3.578 GB, free: 82.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/9.843, allocations: 187.7 kB / 3.578 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/9.843, allocations: 7.953 kB / 3.578 GB, free: 82.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/9.844, allocations: 23.03 kB / 3.578 GB, free: 82.01 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/9.844, allocations: 18.55 kB / 3.578 GB, free: 82.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/9.844, allocations: 10.78 kB / 3.578 GB, free: 82.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000311/9.844, allocations: 337.4 kB / 3.579 GB, free: 81.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/9.844, allocations: 3.812 kB / 3.579 GB, free: 81.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005281/9.849, allocations: 0.8878 MB / 3.58 GB, free: 81.67 MB / 0.5417 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.008343/9.858, allocations: 2.198 MB / 3.582 GB, free: 80.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008632/9.859, allocations: 274.1 kB / 3.582 GB, free: 80.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/9.859, allocations: 0 / 3.582 GB, free: 80.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/9.859, allocations: 165.3 kB / 3.582 GB, free: 80.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009889/9.86, allocations: 167.6 kB / 3.582 GB, free: 80.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/9.868, allocations: 4.829 MB / 3.587 GB, free: 76.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/9.868, allocations: 0.8516 MB / 3.588 GB, free: 76.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004174/9.868, allocations: 122 kB / 3.588 GB, free: 76.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/9.869, allocations: 153.8 kB / 3.588 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/9.869, allocations: 0 / 3.588 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/9.94, allocations: 34.25 MB / 3.622 GB, free: 75 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/9.94, allocations: 234.5 kB / 3.622 GB, free: 74.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.277/13.22, allocations: 0 / 3.622 GB, free: 74.76 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat