Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8778/0.8778, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 181.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.3 MB / 441.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009117/0.0009117, allocations: 102.6 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 278.8 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.72e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4857, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.758/6.244, allocations: 2.145 GB / 2.909 GB, free: 181.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/6.244, allocations: 108.2 kB / 2.909 GB, free: 181.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.438/10.68, allocations: 1.244 GB / 4.153 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.485e-06/10.68, allocations: 0 / 4.153 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003646/10.68, allocations: 75.98 kB / 4.153 GB, free: 10.83 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.007914/10.69, allocations: 3.477 MB / 4.156 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/10.69, allocations: 8.031 kB / 4.156 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/10.69, allocations: 0.5147 MB / 4.157 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006855/10.7, allocations: 3.273 MB / 4.16 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/10.7, allocations: 159.6 kB / 4.16 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003831/10.7, allocations: 204 kB / 4.16 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/10.7, allocations: 2.364 MB / 4.163 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/10.7, allocations: 0 / 4.163 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/10.7, allocations: 84 kB / 4.163 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/10.7, allocations: 71.58 kB / 4.163 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/10.71, allocations: 1.826 MB / 4.165 GB, free: 14.6 MB / 0.7448 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.01689/10.73, allocations: 9.827 MB / 4.174 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/10.73, allocations: 1.346 MB / 4.175 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/10.73, allocations: 0.921 MB / 4.176 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/10.73, allocations: 1.18 MB / 4.178 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/10.73, allocations: 47.55 kB / 4.178 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=113): time 3.586e-06/10.73, allocations: 4 kB / 4.178 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=115): time 0.5696/11.3, allocations: 4.833 MB / 4.182 GB, free: 61.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/11.3, allocations: 290.4 kB / 4.183 GB, free: 60.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006464/11.31, allocations: 2.975 MB / 4.185 GB, free: 60.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005472/11.31, allocations: 59.36 kB / 4.186 GB, free: 60.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/11.31, allocations: 1.412 MB / 4.187 GB, free: 60.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007314/11.31, allocations: 395.3 kB / 4.187 GB, free: 59.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/11.31, allocations: 24 kB / 4.187 GB, free: 59.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000146/11.31, allocations: 361.4 kB / 4.188 GB, free: 59.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/11.31, allocations: 0.9903 MB / 4.189 GB, free: 59.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/11.31, allocations: 1.412 MB / 4.19 GB, free: 59.27 MB / 0.7448 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.005986/11.32, allocations: 2.932 MB / 4.193 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/11.32, allocations: 3.062 kB / 4.193 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005188/11.32, allocations: 3.02 MB / 4.196 GB, free: 57.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007141/11.32, allocations: 2.921 MB / 4.199 GB, free: 54.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/11.32, allocations: 6.406 kB / 4.199 GB, free: 54.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.558e-05/11.32, allocations: 15.64 kB / 4.199 GB, free: 54.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/11.33, allocations: 257.2 kB / 4.199 GB, free: 54.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003807/11.33, allocations: 0.6161 MB / 4.2 GB, free: 54.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/11.33, allocations: 180.1 kB / 4.2 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/11.33, allocations: 83.7 kB / 4.2 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/11.33, allocations: 6.562 kB / 4.2 GB, free: 54.27 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00379/11.33, allocations: 3.121 MB / 4.203 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/11.33, allocations: 6.969 kB / 4.203 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/11.33, allocations: 12.75 kB / 4.203 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/11.33, allocations: 247.9 kB / 4.203 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/11.33, allocations: 11.53 kB / 4.203 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/11.34, allocations: 183.1 kB / 4.203 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/11.34, allocations: 78.59 kB / 4.203 GB, free: 53.86 MB / 0.7448 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: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006173/11.34, allocations: 386.4 kB / 4.204 GB, free: 53.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/11.34, allocations: 307 kB / 4.204 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/11.34, allocations: 2.309 MB / 4.206 GB, free: 53.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/11.34, allocations: 13.62 kB / 4.206 GB, free: 53.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/11.34, allocations: 3.5 kB / 4.206 GB, free: 53.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/11.35, allocations: 2.091 MB / 4.208 GB, free: 52.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009153/11.36, allocations: 5.552 MB / 4.214 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/11.36, allocations: 5.875 kB / 4.214 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009864/11.36, allocations: 224 kB / 4.214 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/11.36, allocations: 11.88 kB / 4.214 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.135e-05/11.36, allocations: 35.28 kB / 4.214 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002489/11.36, allocations: 0.62 MB / 4.215 GB, free: 51.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/11.36, allocations: 6.25 kB / 4.215 GB, free: 51.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/11.36, allocations: 4.357 MB / 4.219 GB, free: 49.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/11.36, allocations: 0.6876 MB / 4.22 GB, free: 49.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/11.36, allocations: 37.17 kB / 4.22 GB, free: 49.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/11.37, allocations: 149.3 kB / 4.22 GB, free: 49.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/11.37, allocations: 149.9 kB / 4.22 GB, free: 49.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/11.37, allocations: 52.66 kB / 4.22 GB, free: 49.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003897/11.37, allocations: 2.304 MB / 4.222 GB, free: 49.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/11.37, allocations: 3.328 kB / 4.222 GB, free: 49.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00618/11.38, allocations: 1.462 MB / 4.224 GB, free: 49.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004685/11.38, allocations: 2.874 MB / 4.226 GB, free: 48.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006608/11.39, allocations: 5.377 MB / 4.232 GB, free: 46.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/11.39, allocations: 0 / 4.232 GB, free: 46.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/11.39, allocations: 1.831 MB / 4.233 GB, free: 46.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009002/11.4, allocations: 1.61 MB / 4.235 GB, free: 46.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/11.41, allocations: 4.885 MB / 4.24 GB, free: 45.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/11.41, allocations: 2.084 MB / 4.242 GB, free: 44.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00493/11.42, allocations: 1.05 MB / 4.243 GB, free: 44.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/11.42, allocations: 146.6 kB / 4.243 GB, free: 44.65 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/11.42, allocations: 0 / 4.243 GB, free: 44.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.1432/11.56, allocations: 98.07 MB / 4.339 GB, free: 38.98 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)