Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.639/1.639, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009186/0.0009184, allocations: 179.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007962/0.0007958, allocations: 92.14 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004229, allocations: 13.81 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7199, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.268/4.988, allocations: 2.174 GB / 3.201 GB, free: 55.13 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/4.988, allocations: 108.9 kB / 3.201 GB, free: 55.02 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.043/8.031, allocations: 0.8738 GB / 4.075 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.275e-06/8.031, allocations: 0 / 4.075 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003208/8.032, allocations: 53.48 kB / 4.075 GB, free: 133.5 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00682/8.038, allocations: 2.738 MB / 4.077 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/8.038, allocations: 11.44 kB / 4.077 GB, free: 132.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/8.041, allocations: 377.8 kB / 4.078 GB, free: 132.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/8.046, allocations: 2.116 MB / 4.08 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/8.046, allocations: 104.6 kB / 4.08 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/8.046, allocations: 136.8 kB / 4.08 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/8.05, allocations: 1.61 MB / 4.082 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/8.05, allocations: 5.812 kB / 4.082 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/8.05, allocations: 55.09 kB / 4.082 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/8.05, allocations: 46.95 kB / 4.082 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/8.052, allocations: 1.248 MB / 4.083 GB, free: 131.6 MB / 0.9948 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.009958/8.062, allocations: 6.445 MB / 4.089 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/8.064, allocations: 0.933 MB / 4.09 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008115/8.065, allocations: 0.6277 MB / 4.091 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/8.065, allocations: 0.6939 MB / 4.091 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/8.065, allocations: 43.47 kB / 4.092 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=83): time 3.687e-06/8.065, allocations: 0 / 4.092 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.006919/8.072, allocations: 3.674 MB / 4.095 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/8.072, allocations: 203.8 kB / 4.095 GB, free: 127.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/8.076, allocations: 1.984 MB / 4.097 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/8.076, allocations: 46.67 kB / 4.097 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007333/8.077, allocations: 0.8825 MB / 4.098 GB, free: 127 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/8.077, allocations: 292.9 kB / 4.098 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/8.077, allocations: 20.09 kB / 4.098 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/8.077, allocations: 342.9 kB / 4.099 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/8.078, allocations: 0.6033 MB / 4.099 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/8.079, allocations: 0.8811 MB / 4.1 GB, free: 126.3 MB / 0.9948 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004839/8.084, allocations: 3.248 MB / 4.103 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/8.084, allocations: 3 kB / 4.103 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002594/8.087, allocations: 1.847 MB / 4.105 GB, free: 125.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001697/8.087, allocations: 388.4 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/8.087, allocations: 4.844 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/8.087, allocations: 10.56 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/8.088, allocations: 181.2 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/8.088, allocations: 8.25 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/8.089, allocations: 120.6 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/8.089, allocations: 55.22 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/8.089, allocations: 1.312 kB / 4.106 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002371/8.092, allocations: 1.845 MB / 4.108 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/8.092, allocations: 5.781 kB / 4.108 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/8.092, allocations: 8.406 kB / 4.108 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/8.092, allocations: 177.5 kB / 4.108 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/8.093, allocations: 10.27 kB / 4.108 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/8.094, allocations: 122.6 kB / 4.108 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/8.094, allocations: 54.91 kB / 4.108 GB, free: 124.5 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.001501/8.096, allocations: 0.7125 MB / 4.109 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005631/8.096, allocations: 200.4 kB / 4.109 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/8.099, allocations: 1.481 MB / 4.11 GB, free: 124 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/8.099, allocations: 14.78 kB / 4.11 GB, free: 124 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/8.099, allocations: 1.375 kB / 4.11 GB, free: 124 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/8.101, allocations: 1.552 MB / 4.112 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/8.108, allocations: 3.62 MB / 4.116 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/8.108, allocations: 5.094 kB / 4.116 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/8.108, allocations: 173.8 kB / 4.116 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.935e-05/8.108, allocations: 7.906 kB / 4.116 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.841e-05/8.108, allocations: 23.72 kB / 4.116 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/8.108, allocations: 12.94 kB / 4.116 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/8.108, allocations: 10.81 kB / 4.116 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/8.112, allocations: 2.445 MB / 4.118 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/8.113, allocations: 445.6 kB / 4.119 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006537/8.114, allocations: 28.16 kB / 4.119 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/8.116, allocations: 105.2 kB / 4.119 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/8.116, allocations: 99.62 kB / 4.119 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/8.116, allocations: 39.62 kB / 4.119 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002833/8.119, allocations: 1.376 MB / 4.12 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.119, allocations: 0 / 4.12 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004193/8.123, allocations: 0.9933 MB / 4.121 GB, free: 121.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.003844/8.127, allocations: 2.274 MB / 4.123 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004731/8.132, allocations: 3.053 MB / 4.126 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/8.132, allocations: 1.031 kB / 4.126 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/8.133, allocations: 1.008 MB / 4.127 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007341/8.14, allocations: 1.022 MB / 4.128 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00849/8.149, allocations: 4.495 MB / 4.133 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/8.151, allocations: 1.523 MB / 4.134 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002613/8.154, allocations: 430.9 kB / 4.135 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005819/8.154, allocations: 129.9 kB / 4.135 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of SimCode: time 5.1e-07/8.154, allocations: 3.125 kB / 4.135 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.08969/8.244, allocations: 60.73 MB / 4.194 GB, free: 115.2 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)