Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 176 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.765/1.765, allocations: 223.1 MB / 0.7992 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 109.3 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005849, allocations: 8.688 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4811, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.04/6.522, allocations: 1.87 GB / 3.099 GB, free: 82.65 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/6.522, allocations: 91.36 kB / 3.099 GB, free: 82.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.541/8.063, allocations: 306.8 MB / 3.399 GB, free: 252.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/8.063, allocations: 0 / 3.399 GB, free: 252.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.252e-05/8.063, allocations: 8 kB / 3.399 GB, free: 252.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001717/8.065, allocations: 0.7644 MB / 3.399 GB, free: 251.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/8.065, allocations: 16.81 kB / 3.399 GB, free: 251.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/8.065, allocations: 58.55 kB / 3.4 GB, free: 251.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/8.066, allocations: 125 kB / 3.4 GB, free: 251.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/8.066, allocations: 338.1 kB / 3.4 GB, free: 251.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/8.066, allocations: 50.25 kB / 3.4 GB, free: 251.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/8.066, allocations: 28 kB / 3.4 GB, free: 251.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/8.067, allocations: 362.1 kB / 3.4 GB, free: 250.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/8.067, allocations: 0 / 3.4 GB, free: 250.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/8.067, allocations: 8 kB / 3.4 GB, free: 250.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/8.067, allocations: 11.98 kB / 3.4 GB, free: 250.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/8.067, allocations: 258 kB / 3.401 GB, free: 250.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/8.069, allocations: 1.484 MB / 3.402 GB, free: 248.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/8.069, allocations: 186.6 kB / 3.402 GB, free: 248.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009101/8.07, allocations: 0.4975 MB / 3.403 GB, free: 248 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/8.07, allocations: 30.56 kB / 3.403 GB, free: 248 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/8.07, allocations: 0 / 3.403 GB, free: 248 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0009699/8.071, allocations: 361.3 kB / 3.403 GB, free: 247.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/8.071, allocations: 55.39 kB / 3.403 GB, free: 247.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/8.072, allocations: 279.6 kB / 3.403 GB, free: 247.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/8.072, allocations: 29.7 kB / 3.404 GB, free: 247.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/8.072, allocations: 188.1 kB / 3.404 GB, free: 247.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/8.072, allocations: 55.25 kB / 3.404 GB, free: 247 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/8.072, allocations: 0 / 3.404 GB, free: 247 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/8.072, allocations: 338.8 kB / 3.404 GB, free: 246.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/8.072, allocations: 87.92 kB / 3.404 GB, free: 246.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/8.072, allocations: 156.5 kB / 3.404 GB, free: 246.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/8.073, allocations: 114.8 kB / 3.404 GB, free: 246.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/8.073, allocations: 0 / 3.404 GB, free: 246.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005077/8.073, allocations: 285.1 kB / 3.405 GB, free: 246 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/8.073, allocations: 13.83 kB / 3.405 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/8.073, allocations: 0 / 3.405 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/8.073, allocations: 7.938 kB / 3.405 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/8.073, allocations: 43.91 kB / 3.405 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/8.073, allocations: 4 kB / 3.405 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/8.074, allocations: 43.8 kB / 3.405 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/8.074, allocations: 15.98 kB / 3.405 GB, free: 245.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001706/8.074, allocations: 149.8 kB / 3.405 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/8.074, allocations: 31.7 kB / 3.405 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006681/8.075, allocations: 317.6 kB / 3.405 GB, free: 245.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/8.075, allocations: 4 kB / 3.405 GB, free: 245.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/8.075, allocations: 0 / 3.405 GB, free: 245.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/8.075, allocations: 3.938 kB / 3.405 GB, free: 245.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/8.076, allocations: 0.7966 MB / 3.406 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/8.076, allocations: 0 / 3.406 GB, free: 244.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/8.076, allocations: 48.12 kB / 3.406 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/8.076, allocations: 4 kB / 3.406 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/8.076, allocations: 4 kB / 3.406 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/8.076, allocations: 4 kB / 3.406 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/8.076, allocations: 0 / 3.406 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/8.077, allocations: 488.9 kB / 3.407 GB, free: 243.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/8.077, allocations: 136.8 kB / 3.407 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/8.077, allocations: 7.938 kB / 3.407 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/8.077, allocations: 31.97 kB / 3.407 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/8.077, allocations: 23.88 kB / 3.407 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/8.078, allocations: 11.98 kB / 3.407 GB, free: 243.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000194/8.078, allocations: 219.1 kB / 3.407 GB, free: 243.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.1e-07/8.078, allocations: 0 / 3.407 GB, free: 243.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001163/8.079, allocations: 235.7 kB / 3.407 GB, free: 243.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.003/8.082, allocations: 2.637 MB / 3.41 GB, free: 240.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00051/8.082, allocations: 215.7 kB / 3.41 GB, free: 240.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/8.082, allocations: 0 / 3.41 GB, free: 240.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/8.083, allocations: 124.6 kB / 3.41 GB, free: 240.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/8.083, allocations: 153.7 kB / 3.41 GB, free: 240 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/8.085, allocations: 1.929 MB / 3.412 GB, free: 238 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/8.086, allocations: 0.7992 MB / 3.413 GB, free: 237.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003179/8.086, allocations: 75.06 kB / 3.413 GB, free: 237.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/8.086, allocations: 99.39 kB / 3.413 GB, free: 237 MB / 1.167 GB Notification: Performance of SimCode: time 5.31e-07/8.086, allocations: 3.938 kB / 3.413 GB, free: 237 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/8.135, allocations: 28.07 MB / 3.441 GB, free: 209.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/8.135, allocations: 221.6 kB / 3.441 GB, free: 208.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/11.02, allocations: 4 kB / 3.441 GB, free: 208.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat does not exist to compare? outputFormat=mat