Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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.001195/0.001195, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 82.61 kB / 267 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4207/0.4207, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.749e-05/4.787e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/7.492, allocations: 2.754 GB / 3.227 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/7.492, allocations: 85.27 kB / 3.227 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.097/8.589, allocations: 313.5 MB / 3.534 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.805e-06/8.59, allocations: 4 kB / 3.534 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.09e-05/8.59, allocations: 12 kB / 3.534 GB, free: 39.02 MB / 0.5105 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.00606/8.596, allocations: 1.308 MB / 3.535 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/8.596, allocations: 12.03 kB / 3.535 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/8.596, allocations: 62.53 kB / 3.535 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/8.598, allocations: 203.4 kB / 3.535 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/8.599, allocations: 334.6 kB / 3.535 GB, free: 37.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/8.599, allocations: 24.56 kB / 3.535 GB, free: 37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/8.599, allocations: 24.69 kB / 3.535 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/8.6, allocations: 490.8 kB / 3.536 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/8.6, allocations: 0 / 3.536 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/8.6, allocations: 12 kB / 3.536 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/8.6, allocations: 8 kB / 3.536 GB, free: 36.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/8.601, allocations: 381.4 kB / 3.536 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/8.605, allocations: 2.399 MB / 3.539 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/8.605, allocations: 294.3 kB / 3.539 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/8.606, allocations: 56.86 kB / 3.539 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03028/8.636, allocations: 16.47 MB / 3.555 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/8.636, allocations: 34.56 kB / 3.555 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/8.636, allocations: 0 / 3.555 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.001887/8.638, allocations: 429.2 kB / 3.555 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/8.638, allocations: 106.8 kB / 3.556 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/8.638, allocations: 282.6 kB / 3.556 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/8.639, allocations: 29.7 kB / 3.556 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/8.639, allocations: 215.5 kB / 3.556 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/8.639, allocations: 47.3 kB / 3.556 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/8.639, allocations: 8 kB / 3.556 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000122/8.639, allocations: 334.8 kB / 3.556 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/8.639, allocations: 55.98 kB / 3.557 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/8.639, allocations: 184.8 kB / 3.557 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/8.639, allocations: 81.72 kB / 3.557 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/8.639, allocations: 4 kB / 3.557 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005764/8.64, allocations: 264.9 kB / 3.557 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/8.64, allocations: 7.938 kB / 3.557 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/8.64, allocations: 4.469 kB / 3.557 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/8.64, allocations: 8 kB / 3.557 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/8.64, allocations: 75.89 kB / 3.557 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/8.64, allocations: 7.938 kB / 3.557 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/8.641, allocations: 59.66 kB / 3.557 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/8.641, allocations: 8 kB / 3.557 GB, free: 12.32 MB / 0.5105 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 (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.0001067/8.641, allocations: 128.8 kB / 3.557 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/8.641, allocations: 31.62 kB / 3.557 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/8.642, allocations: 1.057 MB / 3.558 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/8.642, allocations: 15.97 kB / 3.558 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/8.642, allocations: 3.938 kB / 3.558 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/8.642, allocations: 0 / 3.558 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/8.643, allocations: 0.6596 MB / 3.559 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/8.643, allocations: 4 kB / 3.559 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/8.643, allocations: 55.94 kB / 3.559 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/8.643, allocations: 4 kB / 3.559 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/8.643, allocations: 4 kB / 3.559 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/8.643, allocations: 0 / 3.559 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/8.643, allocations: 4 kB / 3.559 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/8.644, allocations: 0.5592 MB / 3.56 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/8.644, allocations: 200 kB / 3.56 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/8.644, allocations: 8 kB / 3.56 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/8.644, allocations: 27.97 kB / 3.56 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/8.644, allocations: 19.97 kB / 3.56 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/8.644, allocations: 11.98 kB / 3.56 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003261/8.645, allocations: 329.6 kB / 3.56 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.322e-06/8.645, allocations: 0 / 3.56 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004838/8.65, allocations: 0.878 MB / 3.561 GB, free: 8.242 MB / 0.5105 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 () * 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.008649/8.658, allocations: 2.271 MB / 3.563 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005958/8.659, allocations: 287.2 kB / 3.564 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/8.659, allocations: 0 / 3.564 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/8.659, allocations: 224.7 kB / 3.564 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/8.66, allocations: 180 kB / 3.564 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/8.665, allocations: 1.078 MB / 3.565 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/8.665, allocations: 0.8955 MB / 3.566 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004079/8.665, allocations: 159.8 kB / 3.566 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/8.666, allocations: 187.4 kB / 3.566 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/8.666, allocations: 4 kB / 3.566 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4517/9.117, allocations: 37.31 MB / 3.603 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/9.118, allocations: 210.9 kB / 3.603 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/12.26, allocations: 2.281 kB / 3.603 GB, free: 62.83 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat