Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001329/0.001329, allocations: 171.4 kB / 498.1 MB, free: 5.738 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.485/1.485, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.000956/0.0009561, allocations: 102.2 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 9.688 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2505, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.938/4.189, allocations: 1.867 GB / 3.09 GB, free: 82.37 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/4.189, allocations: 86.52 kB / 3.09 GB, free: 82.32 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.165/5.354, allocations: 300.8 MB / 3.384 GB, free: 263.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.687e-06/5.354, allocations: 0 / 3.384 GB, free: 263.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.758e-05/5.354, allocations: 8 kB / 3.384 GB, free: 263.8 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00167/5.356, allocations: 0.6985 MB / 3.385 GB, free: 263.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/5.356, allocations: 12.02 kB / 3.385 GB, free: 263.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/5.356, allocations: 60.09 kB / 3.385 GB, free: 263 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/5.357, allocations: 55.59 kB / 3.385 GB, free: 263 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005636/5.357, allocations: 333.8 kB / 3.385 GB, free: 262.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/5.357, allocations: 20.56 kB / 3.385 GB, free: 262.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/5.357, allocations: 24 kB / 3.385 GB, free: 262.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/5.358, allocations: 315.7 kB / 3.386 GB, free: 262.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/5.358, allocations: 3.938 kB / 3.386 GB, free: 262.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/5.358, allocations: 12 kB / 3.386 GB, free: 262.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/5.358, allocations: 8 kB / 3.386 GB, free: 262.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/5.358, allocations: 201.6 kB / 3.386 GB, free: 262 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.001387/5.36, allocations: 1.527 MB / 3.387 GB, free: 260.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/5.36, allocations: 114.5 kB / 3.387 GB, free: 260.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/5.36, allocations: 299.3 kB / 3.388 GB, free: 259.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/5.36, allocations: 34.5 kB / 3.388 GB, free: 259.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/5.36, allocations: 0 / 3.388 GB, free: 259.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0006959/5.361, allocations: 280.9 kB / 3.388 GB, free: 259.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/5.361, allocations: 59.34 kB / 3.388 GB, free: 259.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/5.361, allocations: 275.7 kB / 3.388 GB, free: 259.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/5.361, allocations: 29.69 kB / 3.388 GB, free: 259.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/5.361, allocations: 184.1 kB / 3.389 GB, free: 259 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/5.361, allocations: 47.38 kB / 3.389 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/5.361, allocations: 4 kB / 3.389 GB, free: 258.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/5.362, allocations: 338.8 kB / 3.389 GB, free: 258.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/5.362, allocations: 59.95 kB / 3.389 GB, free: 258.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/5.362, allocations: 119.4 kB / 3.389 GB, free: 258.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/5.362, allocations: 83.83 kB / 3.389 GB, free: 258.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/5.362, allocations: 0 / 3.389 GB, free: 258.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003613/5.362, allocations: 217.2 kB / 3.389 GB, free: 258.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/5.362, allocations: 9.25 kB / 3.389 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/5.362, allocations: 0 / 3.389 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/5.362, allocations: 4 kB / 3.389 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/5.363, allocations: 35.92 kB / 3.389 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/5.363, allocations: 0 / 3.389 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/5.363, allocations: 51.8 kB / 3.389 GB, free: 258 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/5.363, allocations: 8 kB / 3.389 GB, free: 258 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001168/5.363, allocations: 141.8 kB / 3.39 GB, free: 257.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/5.363, allocations: 23.72 kB / 3.39 GB, free: 257.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/5.363, allocations: 224.2 kB / 3.39 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/5.363, allocations: 4 kB / 3.39 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/5.363, allocations: 3.938 kB / 3.39 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/5.363, allocations: 3.984 kB / 3.39 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/5.364, allocations: 0.6719 MB / 3.39 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/5.364, allocations: 4 kB / 3.39 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/5.364, allocations: 31.92 kB / 3.391 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/5.364, allocations: 7.953 kB / 3.391 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/5.365, allocations: 4 kB / 3.391 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/5.365, allocations: 4 kB / 3.391 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/5.365, allocations: 4 kB / 3.391 GB, free: 256.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/5.365, allocations: 425.2 kB / 3.391 GB, free: 256.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/5.365, allocations: 120.7 kB / 3.391 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/5.365, allocations: 4 kB / 3.391 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/5.365, allocations: 19.98 kB / 3.391 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/5.365, allocations: 15.92 kB / 3.391 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/5.365, allocations: 8 kB / 3.391 GB, free: 256.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001769/5.366, allocations: 223 kB / 3.391 GB, free: 255.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/5.366, allocations: 3.938 kB / 3.391 GB, free: 255.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007755/5.366, allocations: 183.8 kB / 3.392 GB, free: 255.7 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 (13): * Single equations (assignments): 13 * 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.002219/5.369, allocations: 2.516 MB / 3.394 GB, free: 253.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003567/5.369, allocations: 159.8 kB / 3.394 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/5.369, allocations: 0 / 3.394 GB, free: 252.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/5.369, allocations: 88.64 kB / 3.394 GB, free: 252.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/5.37, allocations: 142.6 kB / 3.394 GB, free: 252.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/5.372, allocations: 2.394 MB / 3.397 GB, free: 250.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/5.372, allocations: 0.7914 MB / 3.397 GB, free: 249.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002073/5.372, allocations: 46.95 kB / 3.397 GB, free: 249.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/5.373, allocations: 95.39 kB / 3.398 GB, free: 249.3 MB / 1.167 GB Notification: Performance of SimCode: time 4.21e-07/5.373, allocations: 4 kB / 3.398 GB, free: 249.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04509/5.418, allocations: 26.27 MB / 3.423 GB, free: 223.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/5.418, allocations: 209.4 kB / 3.423 GB, free: 222.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/8.298, allocations: 8 kB / 3.423 GB, free: 222.9 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat