Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.252/2.252, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001095/0.001095, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.495/1.495, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 107.8 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.408e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2437, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.125/4.369, allocations: 1.865 GB / 3.071 GB, free: 15.21 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/4.369, allocations: 87.23 kB / 3.072 GB, free: 15.13 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.05/5.419, allocations: 207.6 MB / 3.274 GB, free: 273.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/5.419, allocations: 0 / 3.274 GB, free: 273.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.009e-05/5.419, allocations: 4 kB / 3.274 GB, free: 273.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001066/5.42, allocations: 0.5609 MB / 3.275 GB, free: 273 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/5.42, allocations: 20.02 kB / 3.275 GB, free: 273 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/5.42, allocations: 31.58 kB / 3.275 GB, free: 273 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/5.42, allocations: 271.6 kB / 3.275 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/5.42, allocations: 4 kB / 3.275 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/5.42, allocations: 15.94 kB / 3.275 GB, free: 272.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001991/5.421, allocations: 95.97 kB / 3.275 GB, free: 272.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/5.421, allocations: 222.9 kB / 3.275 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/5.421, allocations: 0 / 3.275 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/5.421, allocations: 0 / 3.275 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/5.421, allocations: 11.95 kB / 3.275 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/5.422, allocations: 1.294 MB / 3.277 GB, free: 270.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/5.422, allocations: 156.4 kB / 3.277 GB, free: 270.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/5.422, allocations: 77.27 kB / 3.277 GB, free: 270.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/5.423, allocations: 109.1 kB / 3.277 GB, free: 270.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/5.423, allocations: 50.55 kB / 3.277 GB, free: 270.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/5.423, allocations: 0 / 3.277 GB, free: 270.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004326/5.423, allocations: 137.3 kB / 3.277 GB, free: 270.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/5.423, allocations: 187.9 kB / 3.277 GB, free: 270.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/5.423, allocations: 163.4 kB / 3.278 GB, free: 269.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/5.423, allocations: 29.7 kB / 3.278 GB, free: 269.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/5.423, allocations: 160.1 kB / 3.278 GB, free: 269.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/5.423, allocations: 35.45 kB / 3.278 GB, free: 269.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/5.423, allocations: 0 / 3.278 GB, free: 269.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/5.423, allocations: 326.8 kB / 3.278 GB, free: 269.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/5.423, allocations: 35.86 kB / 3.278 GB, free: 269.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/5.424, allocations: 101.4 kB / 3.278 GB, free: 269.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/5.424, allocations: 63.95 kB / 3.278 GB, free: 269.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.424, allocations: 0 / 3.278 GB, free: 269.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002689/5.424, allocations: 161.2 kB / 3.278 GB, free: 268.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/5.424, allocations: 9.984 kB / 3.278 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/5.424, allocations: 4.188 kB / 3.278 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/5.424, allocations: 0 / 3.278 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/5.424, allocations: 40.19 kB / 3.278 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/5.424, allocations: 8 kB / 3.278 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/5.424, allocations: 19.89 kB / 3.279 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/5.424, allocations: 8 kB / 3.279 GB, free: 268.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 7.004e-05/5.425, allocations: 108.9 kB / 3.279 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003109/5.425, allocations: 141.5 kB / 3.279 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/5.425, allocations: 23.75 kB / 3.279 GB, free: 268.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/5.425, allocations: 111.2 kB / 3.279 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/5.425, allocations: 4 kB / 3.279 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/5.425, allocations: 4 kB / 3.279 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/5.425, allocations: 0 / 3.279 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/5.426, allocations: 0.7229 MB / 3.28 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/5.426, allocations: 4 kB / 3.28 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/5.426, allocations: 23.98 kB / 3.28 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/5.426, allocations: 0 / 3.28 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/5.426, allocations: 7.938 kB / 3.28 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/5.426, allocations: 0 / 3.28 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/5.426, allocations: 7.938 kB / 3.28 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/5.426, allocations: 364 kB / 3.28 GB, free: 267.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/5.426, allocations: 105 kB / 3.28 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/5.427, allocations: 4 kB / 3.28 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/5.427, allocations: 15.98 kB / 3.28 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/5.427, allocations: 11.98 kB / 3.28 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/5.427, allocations: 8.062 kB / 3.28 GB, free: 267.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.817e-05/5.427, allocations: 137 kB / 3.28 GB, free: 266.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.427, allocations: 0 / 3.28 GB, free: 266.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005233/5.427, allocations: 127.8 kB / 3.28 GB, free: 266.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001966/5.429, allocations: 2.251 MB / 3.283 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001702/5.43, allocations: 75.92 kB / 3.283 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/5.43, allocations: 0 / 3.283 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/5.43, allocations: 47.86 kB / 3.283 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/5.43, allocations: 58.86 kB / 3.283 GB, free: 264.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008385/5.431, allocations: 412.7 kB / 3.283 GB, free: 263.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/5.431, allocations: 0.7672 MB / 3.284 GB, free: 263.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001172/5.431, allocations: 37.83 kB / 3.284 GB, free: 263 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/5.431, allocations: 63.41 kB / 3.284 GB, free: 263 MB / 1.151 GB Notification: Performance of SimCode: time 1.433e-06/5.431, allocations: 3.938 kB / 3.284 GB, free: 263 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/5.465, allocations: 11.97 MB / 3.296 GB, free: 251 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/5.465, allocations: 166.8 kB / 3.296 GB, free: 250.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/7.575, allocations: 0 / 3.296 GB, free: 250.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat