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.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: 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.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001154/0.001154, allocations: 183.7 kB / 371.6 MB, free: 3.441 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.515/1.515, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008174/0.0008176, allocations: 91 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.667e-05/4.698e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2294, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.935/6.165, allocations: 2.063 GB / 3.043 GB, free: 133.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/6.165, allocations: 84.69 kB / 3.043 GB, free: 133.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.312/7.478, allocations: 297.7 MB / 3.334 GB, free: 207 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/7.478, allocations: 3.938 kB / 3.334 GB, free: 207 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.299e-05/7.478, allocations: 17.27 kB / 3.334 GB, free: 207 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.001243/7.479, allocations: 0.6434 MB / 3.334 GB, free: 206.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/7.479, allocations: 11.14 kB / 3.334 GB, free: 206.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/7.479, allocations: 59.81 kB / 3.334 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/7.48, allocations: 317.4 kB / 3.335 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/7.48, allocations: 24.22 kB / 3.335 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/7.48, allocations: 26.81 kB / 3.335 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/7.48, allocations: 290.9 kB / 3.335 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/7.48, allocations: 4 kB / 3.335 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/7.481, allocations: 11.28 kB / 3.335 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/7.481, allocations: 7.719 kB / 3.335 GB, free: 205.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/7.481, allocations: 161.7 kB / 3.335 GB, free: 205.8 MB / 0.948 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.001315/7.482, allocations: 1.534 MB / 3.337 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/7.482, allocations: 101 kB / 3.337 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.46e-05/7.482, allocations: 75.23 kB / 3.337 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/7.483, allocations: 301.5 kB / 3.337 GB, free: 204 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/7.483, allocations: 30.56 kB / 3.337 GB, free: 203.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/7.483, allocations: 7.688 kB / 3.337 GB, free: 203.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004357/7.483, allocations: 169.5 kB / 3.337 GB, free: 203.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/7.483, allocations: 55.34 kB / 3.337 GB, free: 203.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/7.484, allocations: 275.3 kB / 3.338 GB, free: 203.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/7.484, allocations: 25.7 kB / 3.338 GB, free: 203.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/7.484, allocations: 180 kB / 3.338 GB, free: 203.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/7.484, allocations: 49.92 kB / 3.338 GB, free: 203.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/7.484, allocations: 4 kB / 3.338 GB, free: 203.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/7.484, allocations: 346.9 kB / 3.338 GB, free: 203 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/7.484, allocations: 45.47 kB / 3.338 GB, free: 203 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/7.484, allocations: 97.22 kB / 3.338 GB, free: 202.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.953e-05/7.484, allocations: 60.72 kB / 3.338 GB, free: 202.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/7.484, allocations: 0 / 3.338 GB, free: 202.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002661/7.485, allocations: 183.3 kB / 3.339 GB, free: 202.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/7.485, allocations: 11.5 kB / 3.339 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/7.485, allocations: 0 / 3.339 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/7.485, allocations: 7.406 kB / 3.339 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/7.485, allocations: 35.8 kB / 3.339 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/7.485, allocations: 7.297 kB / 3.339 GB, free: 202.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/7.485, allocations: 37.52 kB / 3.339 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/7.485, allocations: 5.531 kB / 3.339 GB, free: 202.7 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 () * 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 8.203e-05/7.485, allocations: 126 kB / 3.339 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/7.485, allocations: 29.94 kB / 3.339 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/7.486, allocations: 173.5 kB / 3.339 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/7.486, allocations: 3.984 kB / 3.339 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/7.486, allocations: 3.938 kB / 3.339 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/7.486, allocations: 0 / 3.339 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/7.486, allocations: 0.6345 MB / 3.34 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/7.486, allocations: 3.375 kB / 3.34 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/7.486, allocations: 31.88 kB / 3.34 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.82e-06/7.486, allocations: 3.594 kB / 3.34 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/7.486, allocations: 11.31 kB / 3.34 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/7.486, allocations: 3.25 kB / 3.34 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.486, allocations: 3.938 kB / 3.34 GB, free: 201.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/7.487, allocations: 389.9 kB / 3.34 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.881e-05/7.487, allocations: 117.6 kB / 3.34 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/7.487, allocations: 11.17 kB / 3.34 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/7.487, allocations: 20.83 kB / 3.34 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/7.487, allocations: 23.81 kB / 3.34 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/7.487, allocations: 11.19 kB / 3.34 GB, free: 201.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001817/7.487, allocations: 218.9 kB / 3.34 GB, free: 201.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/7.487, allocations: 0 / 3.34 GB, free: 201.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008061/7.488, allocations: 179.1 kB / 3.341 GB, free: 201.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 () * 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.001691/7.49, allocations: 1.182 MB / 3.342 GB, free: 200.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002419/7.49, allocations: 124 kB / 3.342 GB, free: 200.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/7.49, allocations: 0 / 3.342 GB, free: 200.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/7.49, allocations: 70.75 kB / 3.342 GB, free: 200.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/7.491, allocations: 142.7 kB / 3.342 GB, free: 200.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/7.492, allocations: 373.4 kB / 3.342 GB, free: 200 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/7.492, allocations: 0.7936 MB / 3.343 GB, free: 199.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001829/7.492, allocations: 53.45 kB / 3.343 GB, free: 199.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/7.492, allocations: 23.12 kB / 3.343 GB, free: 199.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/7.492, allocations: 0 / 3.343 GB, free: 199.2 MB / 0.948 GB Notification: Performance of Templates: time 0.03069/7.523, allocations: 22.56 MB / 3.365 GB, free: 186.6 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)