Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.00153/0.001531, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.728/1.728, allocations: 205.4 MB / 0.6305 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 94.8 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004235, allocations: 12.53 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.875/6.135, allocations: 2.062 GB / 3.042 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/6.135, allocations: 91.95 kB / 3.042 GB, free: 255.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.291/7.426, allocations: 298 MB / 3.333 GB, free: 263.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.725e-06/7.426, allocations: 0 / 3.333 GB, free: 263.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.618e-05/7.426, allocations: 11.5 kB / 3.333 GB, free: 263.3 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002803/7.429, allocations: 0.6981 MB / 3.333 GB, free: 262.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.374e-05/7.429, allocations: 11.66 kB / 3.334 GB, free: 262.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/7.429, allocations: 63.56 kB / 3.334 GB, free: 262.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/7.43, allocations: 59.41 kB / 3.334 GB, free: 262.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/7.431, allocations: 323.7 kB / 3.334 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/7.431, allocations: 18.59 kB / 3.334 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/7.431, allocations: 24.78 kB / 3.334 GB, free: 262.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/7.432, allocations: 314.5 kB / 3.334 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/7.432, allocations: 3.969 kB / 3.334 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/7.432, allocations: 13.16 kB / 3.334 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/7.432, allocations: 6.531 kB / 3.334 GB, free: 262.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/7.432, allocations: 201.3 kB / 3.334 GB, free: 262.5 MB / 0.948 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.002369/7.435, allocations: 1.537 MB / 3.336 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/7.435, allocations: 115.8 kB / 3.336 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/7.436, allocations: 297.7 kB / 3.336 GB, free: 261.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/7.436, allocations: 32.75 kB / 3.336 GB, free: 261 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 3.456e-06/7.436, allocations: 0 / 3.336 GB, free: 261 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0009803/7.437, allocations: 280.5 kB / 3.337 GB, free: 261 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/7.437, allocations: 52.94 kB / 3.337 GB, free: 260.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/7.437, allocations: 272.4 kB / 3.337 GB, free: 260.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/7.437, allocations: 30.64 kB / 3.337 GB, free: 260.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/7.438, allocations: 183.6 kB / 3.337 GB, free: 260.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/7.438, allocations: 45.38 kB / 3.337 GB, free: 260.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/7.438, allocations: 5.312 kB / 3.337 GB, free: 260.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/7.438, allocations: 339.1 kB / 3.338 GB, free: 260.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/7.438, allocations: 59.34 kB / 3.338 GB, free: 260.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/7.438, allocations: 123.5 kB / 3.338 GB, free: 260.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/7.438, allocations: 80.06 kB / 3.338 GB, free: 260.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/7.438, allocations: 2.875 kB / 3.338 GB, free: 260.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005387/7.439, allocations: 215.1 kB / 3.338 GB, free: 260.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/7.439, allocations: 6.125 kB / 3.338 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/7.439, allocations: 1.125 kB / 3.338 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/7.439, allocations: 2.188 kB / 3.338 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/7.439, allocations: 39.69 kB / 3.338 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/7.439, allocations: 10.45 kB / 3.338 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/7.44, allocations: 39.66 kB / 3.338 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/7.44, allocations: 10.72 kB / 3.338 GB, free: 260.2 MB / 0.948 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.0001933/7.44, allocations: 155 kB / 3.338 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/7.44, allocations: 25.62 kB / 3.338 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005386/7.44, allocations: 212.6 kB / 3.339 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/7.441, allocations: 5.031 kB / 3.339 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/7.441, allocations: 0 / 3.339 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/7.441, allocations: 5.359 kB / 3.339 GB, free: 260 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/7.442, allocations: 0.6737 MB / 3.339 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/7.442, allocations: 9.438 kB / 3.339 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/7.442, allocations: 32.62 kB / 3.339 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/7.442, allocations: 6.094 kB / 3.339 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/7.442, allocations: 6.5 kB / 3.339 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/7.442, allocations: 3.625 kB / 3.339 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/7.442, allocations: 1.219 kB / 3.339 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/7.443, allocations: 424.5 kB / 3.34 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/7.443, allocations: 116.2 kB / 3.34 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/7.443, allocations: 11.11 kB / 3.34 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/7.443, allocations: 23.3 kB / 3.34 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/7.443, allocations: 13.14 kB / 3.34 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/7.443, allocations: 8.844 kB / 3.34 GB, free: 259.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003417/7.444, allocations: 223 kB / 3.34 GB, free: 259.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/7.444, allocations: 0 / 3.34 GB, free: 259.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001057/7.445, allocations: 187.7 kB / 3.34 GB, free: 259.2 MB / 0.948 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.00321/7.448, allocations: 2.51 MB / 3.343 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004417/7.448, allocations: 153 kB / 3.343 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/7.448, allocations: 0 / 3.343 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/7.449, allocations: 87.08 kB / 3.343 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/7.449, allocations: 149.8 kB / 3.343 GB, free: 257.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/7.453, allocations: 2.401 MB / 3.345 GB, free: 256.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/7.453, allocations: 0.7861 MB / 3.346 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002831/7.453, allocations: 64.23 kB / 3.346 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/7.453, allocations: 93.28 kB / 3.346 GB, free: 255.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/7.453, allocations: 0 / 3.346 GB, free: 255.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/7.508, allocations: 26.27 MB / 3.372 GB, free: 254.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/7.508, allocations: 221.7 kB / 3.372 GB, free: 254.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/10.45, allocations: 0 / 3.372 GB, free: 254.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)