Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002375/0.002375, allocations: 198.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009413/0.000941, allocations: 114.2 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4494/0.4494, allocations: 45.23 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 8.219 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4576, allocations: 63.26 MB / 0.5193 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.483/8.941, allocations: 2.761 GB / 3.28 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/8.941, allocations: 95.84 kB / 3.28 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.08/10.02, allocations: 317.8 MB / 3.59 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.505e-06/10.02, allocations: 0 / 3.59 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.499e-05/10.02, allocations: 10.97 kB / 3.59 GB, free: 40.02 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005916/10.03, allocations: 1.366 MB / 3.592 GB, free: 38.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/10.03, allocations: 12.03 kB / 3.592 GB, free: 38.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/10.03, allocations: 58.55 kB / 3.592 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/10.03, allocations: 211.4 kB / 3.592 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/10.03, allocations: 339.6 kB / 3.592 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/10.03, allocations: 24.56 kB / 3.592 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/10.03, allocations: 24.69 kB / 3.592 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/10.03, allocations: 0.4911 MB / 3.593 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/10.03, allocations: 0 / 3.593 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/10.03, allocations: 12 kB / 3.593 GB, free: 37.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/10.03, allocations: 8 kB / 3.593 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/10.03, allocations: 433.2 kB / 3.593 GB, free: 36.94 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/10.04, allocations: 2.406 MB / 3.596 GB, free: 34.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/10.04, allocations: 334.2 kB / 3.596 GB, free: 33.99 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03102/10.07, allocations: 18.23 MB / 3.614 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/10.07, allocations: 42.55 kB / 3.614 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 3.346e-06/10.07, allocations: 0 / 3.614 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.002124/10.07, allocations: 0.5313 MB / 3.614 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/10.07, allocations: 106.8 kB / 3.614 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/10.07, allocations: 295.6 kB / 3.615 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/10.07, allocations: 29.7 kB / 3.615 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/10.07, allocations: 202.5 kB / 3.615 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/10.07, allocations: 51.27 kB / 3.615 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/10.07, allocations: 4 kB / 3.615 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/10.07, allocations: 342.8 kB / 3.615 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/10.07, allocations: 91.94 kB / 3.615 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/10.07, allocations: 207.4 kB / 3.616 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/10.07, allocations: 115.9 kB / 3.616 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/10.07, allocations: 7.953 kB / 3.616 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007256/10.07, allocations: 336.8 kB / 3.616 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/10.07, allocations: 8 kB / 3.616 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/10.07, allocations: 4 kB / 3.616 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/10.07, allocations: 4 kB / 3.616 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/10.07, allocations: 80.36 kB / 3.616 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/10.07, allocations: 4 kB / 3.616 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/10.07, allocations: 59.59 kB / 3.616 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/10.07, allocations: 12 kB / 3.616 GB, free: 10.78 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 (30): * Single equations (assignments): 30 * 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.0001979/10.07, allocations: 161.7 kB / 3.616 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/10.07, allocations: 35.58 kB / 3.616 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/10.07, allocations: 1.128 MB / 3.618 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/10.07, allocations: 11.98 kB / 3.618 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.07, allocations: 0 / 3.618 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/10.07, allocations: 4 kB / 3.618 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/10.08, allocations: 0.6625 MB / 3.618 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/10.08, allocations: 0 / 3.618 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/10.08, allocations: 51.95 kB / 3.618 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/10.08, allocations: 0 / 3.618 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/10.08, allocations: 8 kB / 3.618 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/10.08, allocations: 4 kB / 3.618 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/10.08, allocations: 0 / 3.618 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/10.08, allocations: 0.6232 MB / 3.619 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/10.08, allocations: 211.8 kB / 3.619 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/10.08, allocations: 4 kB / 3.619 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/10.08, allocations: 27.98 kB / 3.619 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/10.08, allocations: 19.97 kB / 3.619 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/10.08, allocations: 11.98 kB / 3.619 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003576/10.08, allocations: 334.9 kB / 3.619 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/10.08, allocations: 0 / 3.619 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004635/10.08, allocations: 0.8897 MB / 3.62 GB, free: 6.516 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: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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 (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.009415/10.09, allocations: 2.372 MB / 3.623 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009427/10.09, allocations: 356.2 kB / 3.623 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/10.09, allocations: 0.875 kB / 3.623 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/10.09, allocations: 264.5 kB / 3.623 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/10.09, allocations: 173.7 kB / 3.623 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3577/10.45, allocations: 5.087 MB / 3.628 GB, free: 75.94 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/10.45, allocations: 0.8932 MB / 3.629 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006163/10.45, allocations: 153.2 kB / 3.629 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/10.45, allocations: 185.7 kB / 3.63 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/10.45, allocations: 0 / 3.63 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07578/10.53, allocations: 35.31 MB / 3.664 GB, free: 74.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/10.53, allocations: 234.5 kB / 3.664 GB, free: 74.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/13.87, allocations: 1.875 kB / 3.664 GB, free: 74.64 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat