Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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.001337/0.001337, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 236 MB, free: 2.973 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.001139/0.001139, allocations: 87.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.845e-05/3.855e-05, allocations: 224 / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.691/7.827, allocations: 2.76 GB / 3.261 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/7.827, allocations: 87.14 kB / 3.262 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.09/8.917, allocations: 316.8 MB / 3.571 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/8.917, allocations: 0 / 3.571 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.014e-05/8.917, allocations: 8 kB / 3.571 GB, free: 66.66 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004717/8.922, allocations: 1.319 MB / 3.572 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/8.922, allocations: 8.031 kB / 3.572 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.866e-05/8.922, allocations: 71.14 kB / 3.572 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/8.924, allocations: 199.4 kB / 3.573 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/8.924, allocations: 345.1 kB / 3.573 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/8.924, allocations: 20.56 kB / 3.573 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/8.924, allocations: 24 kB / 3.573 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/8.925, allocations: 486.6 kB / 3.573 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/8.925, allocations: 3.938 kB / 3.573 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/8.925, allocations: 12 kB / 3.573 GB, free: 64.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/8.925, allocations: 8 kB / 3.573 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/8.926, allocations: 385.3 kB / 3.574 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/8.929, allocations: 2.397 MB / 3.576 GB, free: 61.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/8.929, allocations: 277.9 kB / 3.576 GB, free: 60.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/8.93, allocations: 68.84 kB / 3.576 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02738/8.957, allocations: 16.45 MB / 3.592 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/8.957, allocations: 46.39 kB / 3.593 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/8.957, allocations: 4 kB / 3.593 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001451/8.959, allocations: 437.2 kB / 3.593 GB, free: 41.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/8.959, allocations: 102.8 kB / 3.593 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/8.959, allocations: 282.6 kB / 3.593 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/8.959, allocations: 29.7 kB / 3.593 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/8.959, allocations: 207.6 kB / 3.594 GB, free: 41.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/8.959, allocations: 55.17 kB / 3.594 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/8.959, allocations: 4 kB / 3.594 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/8.959, allocations: 338.8 kB / 3.594 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/8.959, allocations: 52 kB / 3.594 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/8.959, allocations: 172.4 kB / 3.594 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/8.96, allocations: 79.94 kB / 3.594 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/8.96, allocations: 4 kB / 3.594 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003531/8.96, allocations: 263.3 kB / 3.594 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/8.96, allocations: 8 kB / 3.594 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/8.96, allocations: 7.953 kB / 3.594 GB, free: 40.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/8.96, allocations: 4 kB / 3.594 GB, free: 40.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/8.96, allocations: 75.89 kB / 3.595 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/8.96, allocations: 11.88 kB / 3.595 GB, free: 40.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/8.961, allocations: 59.89 kB / 3.595 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/8.961, allocations: 16 kB / 3.595 GB, free: 40.12 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 (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 8.38e-05/8.961, allocations: 124.9 kB / 3.595 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/8.961, allocations: 27.62 kB / 3.595 GB, free: 39.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008681/8.962, allocations: 1.061 MB / 3.596 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/8.962, allocations: 19.97 kB / 3.596 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/8.962, allocations: 3.938 kB / 3.596 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/8.962, allocations: 4 kB / 3.596 GB, free: 38.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/8.962, allocations: 0.6482 MB / 3.596 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/8.962, allocations: 0 / 3.596 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/8.963, allocations: 63.89 kB / 3.597 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/8.963, allocations: 3.953 kB / 3.597 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/8.963, allocations: 15.98 kB / 3.597 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/8.963, allocations: 0 / 3.597 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/8.963, allocations: 0 / 3.597 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/8.963, allocations: 0.5514 MB / 3.597 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/8.963, allocations: 196 kB / 3.597 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/8.963, allocations: 8 kB / 3.597 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/8.964, allocations: 31.97 kB / 3.597 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/8.964, allocations: 19.91 kB / 3.597 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/8.964, allocations: 8 kB / 3.597 GB, free: 37.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003134/8.964, allocations: 337.5 kB / 3.598 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.964, allocations: 0 / 3.598 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004293/8.968, allocations: 0.878 MB / 3.599 GB, free: 36.03 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: 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.008176/8.977, allocations: 2.29 MB / 3.601 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005593/8.977, allocations: 274.1 kB / 3.601 GB, free: 33.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/8.977, allocations: 4 kB / 3.601 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/8.977, allocations: 231 kB / 3.601 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/8.978, allocations: 172.1 kB / 3.601 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/8.983, allocations: 1.082 MB / 3.602 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/8.983, allocations: 0.8878 MB / 3.603 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004104/8.983, allocations: 165.1 kB / 3.603 GB, free: 31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/8.984, allocations: 183.4 kB / 3.604 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/8.984, allocations: 0 / 3.604 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4393/9.423, allocations: 37.31 MB / 3.64 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/9.423, allocations: 217.1 kB / 3.64 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/12.66, allocations: 0 / 3.64 GB, free: 83.02 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat