Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.199/2.199, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001395/0.001395, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001177/0.001177, allocations: 91.64 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.672e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2659, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.32/5.586, allocations: 1.868 GB / 3.087 GB, free: 365.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/5.586, allocations: 89.33 kB / 3.087 GB, free: 365.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5656/6.152, allocations: 300.5 MB / 3.38 GB, free: 97.82 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.455e-06/6.152, allocations: 4 kB / 3.381 GB, free: 97.82 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.685e-05/6.152, allocations: 8 kB / 3.381 GB, free: 97.81 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.001296/6.153, allocations: 0.6549 MB / 3.381 GB, free: 97.11 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/6.153, allocations: 12.03 kB / 3.381 GB, free: 97.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/6.154, allocations: 58.55 kB / 3.381 GB, free: 97.04 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/6.154, allocations: 63.58 kB / 3.381 GB, free: 96.97 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/6.155, allocations: 317.8 kB / 3.382 GB, free: 96.62 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/6.155, allocations: 20.56 kB / 3.382 GB, free: 96.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/6.155, allocations: 35.94 kB / 3.382 GB, free: 96.56 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/6.155, allocations: 291.7 kB / 3.382 GB, free: 96.25 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/6.155, allocations: 0 / 3.382 GB, free: 96.25 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/6.155, allocations: 12 kB / 3.382 GB, free: 96.24 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/6.155, allocations: 11.98 kB / 3.382 GB, free: 96.23 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/6.155, allocations: 169.6 kB / 3.382 GB, free: 96.06 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.001342/6.157, allocations: 1.519 MB / 3.384 GB, free: 94.41 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/6.157, allocations: 98.48 kB / 3.384 GB, free: 94.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/6.157, allocations: 72.84 kB / 3.384 GB, free: 94.23 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/6.157, allocations: 303.2 kB / 3.384 GB, free: 93.88 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/6.157, allocations: 34.55 kB / 3.384 GB, free: 93.83 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/6.158, allocations: 0 / 3.384 GB, free: 93.83 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0004616/6.158, allocations: 177.3 kB / 3.384 GB, free: 93.65 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/6.158, allocations: 51.41 kB / 3.384 GB, free: 93.59 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/6.158, allocations: 270.7 kB / 3.385 GB, free: 93.32 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/6.158, allocations: 33.7 kB / 3.385 GB, free: 93.28 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/6.158, allocations: 180.1 kB / 3.385 GB, free: 93.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/6.158, allocations: 47.36 kB / 3.385 GB, free: 93.05 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/6.158, allocations: 0 / 3.385 GB, free: 93.05 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/6.158, allocations: 342.8 kB / 3.385 GB, free: 92.71 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/6.159, allocations: 40.02 kB / 3.385 GB, free: 92.67 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/6.159, allocations: 112 kB / 3.385 GB, free: 92.54 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/6.159, allocations: 59.97 kB / 3.385 GB, free: 92.48 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/6.159, allocations: 0 / 3.385 GB, free: 92.48 MB / 1.167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000247/6.159, allocations: 189 kB / 3.386 GB, free: 92.29 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/6.159, allocations: 4 kB / 3.386 GB, free: 92.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/6.159, allocations: 4 kB / 3.386 GB, free: 92.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/6.159, allocations: 0 / 3.386 GB, free: 92.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/6.159, allocations: 39.92 kB / 3.386 GB, free: 92.24 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/6.159, allocations: 8.219 kB / 3.386 GB, free: 92.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/6.16, allocations: 43.66 kB / 3.386 GB, free: 92.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/6.16, allocations: 12 kB / 3.386 GB, free: 92.18 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 () * 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 5.914e-05/6.16, allocations: 118.1 kB / 3.386 GB, free: 92.06 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/6.16, allocations: 23.72 kB / 3.386 GB, free: 92.04 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/6.16, allocations: 180.5 kB / 3.386 GB, free: 91.86 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/6.16, allocations: 7.938 kB / 3.386 GB, free: 91.85 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/6.16, allocations: 0 / 3.386 GB, free: 91.85 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/6.16, allocations: 0 / 3.386 GB, free: 91.85 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/6.161, allocations: 0.6482 MB / 3.387 GB, free: 91.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/6.161, allocations: 4 kB / 3.387 GB, free: 91.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/6.161, allocations: 27.98 kB / 3.387 GB, free: 91.09 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/6.161, allocations: 3.984 kB / 3.387 GB, free: 91.09 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/6.161, allocations: 8 kB / 3.387 GB, free: 91.08 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/6.161, allocations: 4 kB / 3.387 GB, free: 91.07 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/6.161, allocations: 12.05 kB / 3.387 GB, free: 91.06 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/6.161, allocations: 373.2 kB / 3.387 GB, free: 90.62 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/6.161, allocations: 120.7 kB / 3.387 GB, free: 90.48 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/6.161, allocations: 4 kB / 3.387 GB, free: 90.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/6.162, allocations: 31.92 kB / 3.387 GB, free: 90.45 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/6.162, allocations: 11.92 kB / 3.387 GB, free: 90.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/6.162, allocations: 4 kB / 3.387 GB, free: 90.43 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001626/6.162, allocations: 218.2 kB / 3.387 GB, free: 90.22 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/6.162, allocations: 0 / 3.387 GB, free: 90.22 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007232/6.162, allocations: 187.8 kB / 3.388 GB, free: 90.04 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 () * 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.002117/6.165, allocations: 2.479 MB / 3.39 GB, free: 87.46 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002336/6.165, allocations: 123.8 kB / 3.39 GB, free: 87.34 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/6.165, allocations: 0 / 3.39 GB, free: 87.34 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/6.165, allocations: 71.84 kB / 3.39 GB, free: 87.27 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/6.166, allocations: 141.4 kB / 3.39 GB, free: 87.13 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/6.167, allocations: 466.1 kB / 3.391 GB, free: 86.62 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/6.167, allocations: 0.7914 MB / 3.391 GB, free: 85.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002646/6.167, allocations: 63.06 kB / 3.392 GB, free: 85.74 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/6.167, allocations: 87.41 kB / 3.392 GB, free: 85.66 MB / 1.167 GB Notification: Performance of SimCode: time 1.122e-06/6.167, allocations: 0 / 3.392 GB, free: 85.66 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04727/6.214, allocations: 29.6 MB / 3.421 GB, free: 56.22 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/6.215, allocations: 196.2 kB / 3.421 GB, free: 55.99 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/9.185, allocations: 0 / 3.421 GB, free: 55.99 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat