Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 293 MB / 309 MB, free: 4.832 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.001057/0.001057, allocations: 176.6 kB / 378.7 MB, free: 1.004 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.642/1.642, allocations: 205.4 MB / 0.6383 GB, free: 9.074 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.0008115/0.0008116, allocations: 90.03 kB / 0.7527 GB, free: 62.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 12 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2892, allocations: 116.4 MB / 0.9904 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.284, allocations: 2.063 GB / 3.054 GB, free: 154.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/5.285, allocations: 88.97 kB / 3.054 GB, free: 154 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.185/6.47, allocations: 297.4 MB / 3.344 GB, free: 209 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/6.47, allocations: 0 / 3.344 GB, free: 209 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.063e-05/6.47, allocations: 11.03 kB / 3.344 GB, free: 209 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.001518/6.471, allocations: 0.6842 MB / 3.345 GB, free: 208.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/6.471, allocations: 10.03 kB / 3.345 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/6.472, allocations: 62.81 kB / 3.345 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/6.472, allocations: 330.6 kB / 3.345 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/6.472, allocations: 20.78 kB / 3.345 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/6.472, allocations: 30.75 kB / 3.345 GB, free: 208.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/6.473, allocations: 310.4 kB / 3.346 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/6.473, allocations: 7.938 kB / 3.346 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/6.473, allocations: 11.12 kB / 3.346 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/6.473, allocations: 7.844 kB / 3.346 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/6.473, allocations: 204.8 kB / 3.346 GB, free: 207.8 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.001429/6.475, allocations: 1.536 MB / 3.347 GB, free: 206.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/6.475, allocations: 108.6 kB / 3.348 GB, free: 206.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/6.475, allocations: 89.98 kB / 3.348 GB, free: 206.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/6.476, allocations: 299.1 kB / 3.348 GB, free: 206.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/6.476, allocations: 34.53 kB / 3.348 GB, free: 206.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/6.476, allocations: 0 / 3.348 GB, free: 206.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0007179/6.476, allocations: 265 kB / 3.348 GB, free: 206 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/6.477, allocations: 59.34 kB / 3.348 GB, free: 206 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/6.477, allocations: 311.5 kB / 3.349 GB, free: 205.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/6.477, allocations: 29.7 kB / 3.349 GB, free: 205.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/6.477, allocations: 189.2 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/6.477, allocations: 42.5 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/6.477, allocations: 1.531 kB / 3.349 GB, free: 205.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/6.477, allocations: 339.5 kB / 3.349 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/6.477, allocations: 61.02 kB / 3.349 GB, free: 205.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/6.477, allocations: 124.2 kB / 3.349 GB, free: 205.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/6.478, allocations: 180 kB / 3.349 GB, free: 205 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/6.478, allocations: 3.562 kB / 3.349 GB, free: 205 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003707/6.478, allocations: 218.3 kB / 3.35 GB, free: 204.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/6.478, allocations: 11.16 kB / 3.35 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/6.478, allocations: 0 / 3.35 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/6.478, allocations: 3.906 kB / 3.35 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/6.478, allocations: 36.77 kB / 3.35 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/6.478, allocations: 0 / 3.35 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/6.479, allocations: 53.66 kB / 3.35 GB, free: 204.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/6.479, allocations: 7.125 kB / 3.35 GB, free: 204.9 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.0001311/6.479, allocations: 146.8 kB / 3.35 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/6.479, allocations: 30.09 kB / 3.35 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/6.479, allocations: 218 kB / 3.35 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/6.479, allocations: 0 / 3.35 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/6.479, allocations: 0 / 3.35 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/6.479, allocations: 3.938 kB / 3.35 GB, free: 204.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/6.48, allocations: 0.6781 MB / 3.351 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.48, allocations: 6.906 kB / 3.351 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/6.48, allocations: 30.42 kB / 3.351 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/6.48, allocations: 3.25 kB / 3.351 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/6.48, allocations: 7.969 kB / 3.351 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/6.48, allocations: 11.42 kB / 3.351 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/6.48, allocations: 128 / 3.351 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/6.481, allocations: 340.1 kB / 3.351 GB, free: 203.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/6.481, allocations: 121.8 kB / 3.351 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/6.481, allocations: 7.781 kB / 3.351 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/6.481, allocations: 15.17 kB / 3.351 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/6.481, allocations: 18.38 kB / 3.351 GB, free: 203.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/6.481, allocations: 2.938 kB / 3.351 GB, free: 203.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00018/6.481, allocations: 225.9 kB / 3.352 GB, free: 203.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/6.481, allocations: 0 / 3.352 GB, free: 203.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007906/6.482, allocations: 180.8 kB / 3.352 GB, free: 203.6 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.001953/6.484, allocations: 1.184 MB / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003902/6.484, allocations: 162.4 kB / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/6.484, allocations: 0 / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/6.485, allocations: 80.86 kB / 3.353 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/6.486, allocations: 144.2 kB / 3.353 GB, free: 202.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/6.486, allocations: 0.6207 MB / 3.354 GB, free: 202.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/6.487, allocations: 0.777 MB / 3.355 GB, free: 201.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002205/6.487, allocations: 67.64 kB / 3.355 GB, free: 201.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/6.487, allocations: 22.38 kB / 3.355 GB, free: 201.7 MB / 0.948 GB Notification: Performance of SimCode: time 3.31e-07/6.487, allocations: 0 / 3.355 GB, free: 201.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02513/6.512, allocations: 19.45 MB / 3.374 GB, free: 193.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)