Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 185.1 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.4 MB / 0.6366 GB, free: 9.582 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009637/0.000964, allocations: 85.56 kB / 0.7509 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004192, allocations: 16 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3025, allocations: 116.3 MB / 0.9884 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.144/6.447, allocations: 2.062 GB / 3.05 GB, free: 159.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/6.447, allocations: 93.16 kB / 3.05 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.031/7.478, allocations: 208.6 MB / 3.254 GB, free: 230.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.547e-06/7.478, allocations: 0 / 3.254 GB, free: 230.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.658e-05/7.478, allocations: 6.312 kB / 3.254 GB, free: 230.9 MB / 0.948 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.001365/7.48, allocations: 0.6002 MB / 3.255 GB, free: 230.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/7.48, allocations: 12.31 kB / 3.255 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.951e-05/7.48, allocations: 58.45 kB / 3.255 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/7.48, allocations: 27.16 kB / 3.255 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/7.481, allocations: 277.6 kB / 3.255 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/7.481, allocations: 18.12 kB / 3.255 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/7.481, allocations: 21.69 kB / 3.255 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/7.481, allocations: 266.1 kB / 3.255 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/7.481, allocations: 0 / 3.255 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/7.481, allocations: 6.438 kB / 3.255 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/7.481, allocations: 9.406 kB / 3.255 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/7.482, allocations: 154.7 kB / 3.255 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/7.483, allocations: 1.353 MB / 3.257 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/7.483, allocations: 190.2 kB / 3.257 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/7.483, allocations: 112.5 kB / 3.257 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/7.483, allocations: 39.59 kB / 3.257 GB, free: 228.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/7.483, allocations: 0 / 3.257 GB, free: 228.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0006317/7.484, allocations: 214.8 kB / 3.257 GB, free: 228.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/7.484, allocations: 184.4 kB / 3.257 GB, free: 228.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/7.484, allocations: 261.1 kB / 3.258 GB, free: 228.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/7.484, allocations: 29.58 kB / 3.258 GB, free: 228.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/7.485, allocations: 148.5 kB / 3.258 GB, free: 228.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/7.485, allocations: 39.58 kB / 3.258 GB, free: 228.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/7.485, allocations: 1.875 kB / 3.258 GB, free: 228.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/7.485, allocations: 334.6 kB / 3.258 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/7.485, allocations: 51.53 kB / 3.258 GB, free: 227.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/7.485, allocations: 127.3 kB / 3.258 GB, free: 227.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/7.485, allocations: 64.7 kB / 3.258 GB, free: 227.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/7.485, allocations: 3.156 kB / 3.258 GB, free: 227.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003842/7.486, allocations: 194 kB / 3.259 GB, free: 227.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/7.486, allocations: 7.297 kB / 3.259 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/7.486, allocations: 3.25 kB / 3.259 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/7.486, allocations: 6.656 kB / 3.259 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/7.486, allocations: 39.22 kB / 3.259 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/7.486, allocations: 3.156 kB / 3.259 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/7.486, allocations: 31.64 kB / 3.259 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/7.486, allocations: 13.38 kB / 3.259 GB, free: 227.8 MB / 0.948 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 () * Number of clocked 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 0.0001385/7.486, allocations: 149.3 kB / 3.259 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/7.486, allocations: 21.5 kB / 3.259 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/7.487, allocations: 146.2 kB / 3.259 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/7.487, allocations: 3.531 kB / 3.259 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/7.487, allocations: 3.938 kB / 3.259 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/7.487, allocations: 3.188 kB / 3.259 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007352/7.488, allocations: 0.7622 MB / 3.26 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/7.488, allocations: 3.219 kB / 3.26 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/7.488, allocations: 29.11 kB / 3.26 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/7.488, allocations: 6.406 kB / 3.26 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/7.488, allocations: 0 / 3.26 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/7.488, allocations: 3.375 kB / 3.26 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/7.488, allocations: 3.375 kB / 3.26 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/7.488, allocations: 403.2 kB / 3.26 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/7.488, allocations: 115.3 kB / 3.26 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/7.488, allocations: 2.969 kB / 3.26 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/7.489, allocations: 20.06 kB / 3.26 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/7.489, allocations: 10.11 kB / 3.26 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/7.489, allocations: 5.625 kB / 3.26 GB, free: 226.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000203/7.489, allocations: 210.9 kB / 3.261 GB, free: 226.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.489, allocations: 0 / 3.261 GB, free: 226.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007667/7.49, allocations: 140 kB / 3.261 GB, free: 226.5 MB / 0.948 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 () * Number of clocked 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.002256/7.492, allocations: 2.175 MB / 3.263 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003319/7.492, allocations: 123.7 kB / 3.263 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/7.492, allocations: 3.656 kB / 3.263 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/7.492, allocations: 64.67 kB / 3.263 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/7.493, allocations: 114.1 kB / 3.263 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/7.495, allocations: 2.521 MB / 3.266 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/7.496, allocations: 0.7582 MB / 3.266 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001673/7.496, allocations: 50.31 kB / 3.266 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/7.496, allocations: 66.75 kB / 3.266 GB, free: 222.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/7.496, allocations: 0 / 3.266 GB, free: 222.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04933/7.545, allocations: 22 MB / 3.288 GB, free: 221.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/7.545, allocations: 206.2 kB / 3.288 GB, free: 221 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/10.3, allocations: 0 / 3.288 GB, free: 221 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)