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.001034/0.001035, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009323/0.0009325, allocations: 91.94 kB / 292.1 MB, free: 6.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 45.16 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.424e-05/4.496e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.247/6.369, allocations: 2.76 GB / 3.272 GB, free: 98.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/6.37, allocations: 89.16 kB / 3.272 GB, free: 98.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9099/7.28, allocations: 294.8 MB / 3.56 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.464e-06/7.28, allocations: 7.938 kB / 3.56 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.417e-05/7.28, allocations: 4 kB / 3.56 GB, free: 28.16 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.005095/7.285, allocations: 1.211 MB / 3.561 GB, free: 26.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/7.285, allocations: 11.97 kB / 3.561 GB, free: 26.89 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/7.285, allocations: 66.53 kB / 3.561 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/7.286, allocations: 131.4 kB / 3.561 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/7.287, allocations: 329.4 kB / 3.561 GB, free: 26.33 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/7.287, allocations: 20.56 kB / 3.561 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/7.287, allocations: 24 kB / 3.561 GB, free: 26.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009012/7.288, allocations: 446.9 kB / 3.562 GB, free: 25.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/7.288, allocations: 4.344 kB / 3.562 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/7.288, allocations: 15.95 kB / 3.562 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/7.288, allocations: 8 kB / 3.562 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/7.288, allocations: 333.4 kB / 3.562 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/7.291, allocations: 2.364 MB / 3.564 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/7.292, allocations: 230.4 kB / 3.565 GB, free: 22.64 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.325e-05/7.292, allocations: 52.86 kB / 3.565 GB, free: 22.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/7.292, allocations: 477.5 kB / 3.565 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/7.292, allocations: 42.5 kB / 3.565 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/7.292, allocations: 0 / 3.565 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12): time 0.001024/7.293, allocations: 345.3 kB / 3.566 GB, free: 21.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/7.293, allocations: 106.8 kB / 3.566 GB, free: 21.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/7.293, allocations: 286.6 kB / 3.566 GB, free: 21.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/7.293, allocations: 33.7 kB / 3.566 GB, free: 21.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/7.293, allocations: 199.6 kB / 3.566 GB, free: 20.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/7.294, allocations: 47.44 kB / 3.566 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/7.294, allocations: 4 kB / 3.566 GB, free: 20.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/7.294, allocations: 338.8 kB / 3.566 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/7.294, allocations: 47.98 kB / 3.567 GB, free: 20.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/7.294, allocations: 163.4 kB / 3.567 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/7.294, allocations: 75.88 kB / 3.567 GB, free: 20.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/7.294, allocations: 4 kB / 3.567 GB, free: 20.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003324/7.294, allocations: 241.3 kB / 3.567 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/7.294, allocations: 8.031 kB / 3.567 GB, free: 20 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/7.294, allocations: 8 kB / 3.567 GB, free: 20 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/7.294, allocations: 4 kB / 3.567 GB, free: 19.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/7.295, allocations: 71.89 kB / 3.567 GB, free: 19.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/7.295, allocations: 7.938 kB / 3.567 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/7.295, allocations: 51.67 kB / 3.567 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/7.295, allocations: 19.98 kB / 3.567 GB, free: 19.84 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 () * 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 6.682e-05/7.295, allocations: 116.9 kB / 3.567 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/7.295, allocations: 35.58 kB / 3.567 GB, free: 19.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/7.296, allocations: 0.6939 MB / 3.568 GB, free: 18.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/7.296, allocations: 3.984 kB / 3.568 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.296, allocations: 0 / 3.568 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/7.296, allocations: 0 / 3.568 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/7.296, allocations: 0.5258 MB / 3.568 GB, free: 18.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/7.296, allocations: 3.984 kB / 3.568 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/7.296, allocations: 63.89 kB / 3.569 GB, free: 18.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/7.296, allocations: 7.938 kB / 3.569 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/7.296, allocations: 0 / 3.569 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/7.296, allocations: 0 / 3.569 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/7.296, allocations: 0 / 3.569 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/7.297, allocations: 397.1 kB / 3.569 GB, free: 17.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/7.297, allocations: 192.1 kB / 3.569 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/7.297, allocations: 8 kB / 3.569 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/7.297, allocations: 31.88 kB / 3.569 GB, free: 17.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/7.297, allocations: 15.97 kB / 3.569 GB, free: 17.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/7.297, allocations: 4 kB / 3.569 GB, free: 17.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002739/7.297, allocations: 333.6 kB / 3.569 GB, free: 17.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/7.297, allocations: 4 kB / 3.569 GB, free: 17.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0037/7.301, allocations: 0.8742 MB / 3.57 GB, free: 16.46 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 () * 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.00693/7.308, allocations: 2.141 MB / 3.572 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003885/7.309, allocations: 192.7 kB / 3.573 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/7.309, allocations: 4.062 kB / 3.573 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/7.309, allocations: 127.9 kB / 3.573 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/7.31, allocations: 173 kB / 3.573 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/7.313, allocations: 0.9277 MB / 3.574 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/7.313, allocations: 0.8544 MB / 3.575 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003328/7.314, allocations: 129.9 kB / 3.575 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/7.314, allocations: 155.4 kB / 3.575 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/7.314, allocations: 0 / 3.575 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3535/7.667, allocations: 36.27 MB / 3.61 GB, free: 87.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/7.668, allocations: 210.6 kB / 3.611 GB, free: 87.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/10.49, allocations: 2.391 kB / 3.611 GB, free: 87.38 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