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.7841/0.7841, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 173.1 kB / 191.5 MB, free: 5.758 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.433/1.433, allocations: 223.2 MB / 447.7 MB, free: 4.781 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.0009515/0.0009514, allocations: 100.3 kB / 0.5188 GB, free: 1.141 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001761, allocations: 271.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 17.16 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.866/5.022, allocations: 2.145 GB / 2.919 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/5.022, allocations: 112.2 kB / 2.919 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.076/9.098, allocations: 1.246 GB / 4.165 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.705e-06/9.098, allocations: 0 / 4.165 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005523/9.098, allocations: 87.91 kB / 4.165 GB, free: 9.512 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.01155/9.11, allocations: 4.142 MB / 4.169 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/9.11, allocations: 12.03 kB / 4.169 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/9.113, allocations: 0.5059 MB / 4.17 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00835/9.121, allocations: 3.299 MB / 4.173 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/9.122, allocations: 159.7 kB / 4.173 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007717/9.122, allocations: 204 kB / 4.173 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006406/9.129, allocations: 2.411 MB / 4.176 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-05/9.129, allocations: 0 / 4.176 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004482/9.129, allocations: 83.94 kB / 4.176 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/9.129, allocations: 75.62 kB / 4.176 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/9.134, allocations: 1.896 MB / 4.178 GB, free: 12.46 MB / 0.7448 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.02092/9.155, allocations: 9.83 MB / 4.187 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/9.157, allocations: 1.377 MB / 4.189 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5059/9.663, allocations: 1.172 MB / 4.19 GB, free: 59.01 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/9.663, allocations: 50.91 kB / 4.19 GB, free: 58.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=113): time 4.929e-06/9.663, allocations: 0 / 4.19 GB, free: 58.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=115): time 0.01048/9.674, allocations: 6.213 MB / 4.196 GB, free: 57.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/9.674, allocations: 282.2 kB / 4.196 GB, free: 56.94 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005613/9.68, allocations: 3.012 MB / 4.199 GB, free: 56.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004553/9.68, allocations: 54.42 kB / 4.199 GB, free: 56.69 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/9.682, allocations: 1.411 MB / 4.2 GB, free: 56.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/9.682, allocations: 391.6 kB / 4.201 GB, free: 56.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/9.682, allocations: 27.09 kB / 4.201 GB, free: 56.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001266/9.682, allocations: 364.8 kB / 4.201 GB, free: 55.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/9.684, allocations: 1.016 MB / 4.202 GB, free: 55.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/9.686, allocations: 1.439 MB / 4.204 GB, free: 55.5 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.006323/9.693, allocations: 2.954 MB / 4.207 GB, free: 54.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/9.693, allocations: 5.016 kB / 4.207 GB, free: 54.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005488/9.698, allocations: 3.08 MB / 4.21 GB, free: 54.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006833/9.699, allocations: 2.911 MB / 4.212 GB, free: 51.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/9.699, allocations: 9.609 kB / 4.212 GB, free: 51.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/9.699, allocations: 12.25 kB / 4.212 GB, free: 51.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/9.7, allocations: 267.3 kB / 4.213 GB, free: 51.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003827/9.701, allocations: 0.6103 MB / 4.213 GB, free: 50.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/9.704, allocations: 182.6 kB / 4.213 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/9.704, allocations: 80.97 kB / 4.213 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/9.704, allocations: 3.219 kB / 4.213 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004795/9.709, allocations: 3.186 MB / 4.217 GB, free: 50.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/9.709, allocations: 4.516 kB / 4.217 GB, free: 50.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/9.709, allocations: 12.12 kB / 4.217 GB, free: 50.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/9.71, allocations: 252.5 kB / 4.217 GB, free: 50.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/9.71, allocations: 21.23 kB / 4.217 GB, free: 50.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/9.713, allocations: 173.8 kB / 4.217 GB, free: 50.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/9.713, allocations: 76.02 kB / 4.217 GB, free: 50.1 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 () * Number of clocked 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.002467/9.716, allocations: 1.09 MB / 4.218 GB, free: 49.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009223/9.717, allocations: 307 kB / 4.218 GB, free: 49.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/9.72, allocations: 2.371 MB / 4.221 GB, free: 49.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/9.72, allocations: 10.09 kB / 4.221 GB, free: 49.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/9.721, allocations: 3.953 kB / 4.221 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002334/9.723, allocations: 2.142 MB / 4.223 GB, free: 48.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009535/9.732, allocations: 5.608 MB / 4.228 GB, free: 48.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/9.732, allocations: 11.09 kB / 4.228 GB, free: 48.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/9.734, allocations: 230.4 kB / 4.229 GB, free: 48.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/9.734, allocations: 14.89 kB / 4.229 GB, free: 48.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/9.734, allocations: 42.55 kB / 4.229 GB, free: 48.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002505/9.734, allocations: 0.6125 MB / 4.229 GB, free: 47.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/9.734, allocations: 9.219 kB / 4.229 GB, free: 47.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005056/9.739, allocations: 4.442 MB / 4.234 GB, free: 45.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/9.741, allocations: 0.6831 MB / 4.234 GB, free: 45.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/9.742, allocations: 36 kB / 4.234 GB, free: 45.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/9.745, allocations: 149.8 kB / 4.234 GB, free: 45.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/9.745, allocations: 154.5 kB / 4.235 GB, free: 45.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/9.745, allocations: 54.69 kB / 4.235 GB, free: 45.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005243/9.75, allocations: 2.338 MB / 4.237 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/9.75, allocations: 0 / 4.237 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008794/9.759, allocations: 1.473 MB / 4.238 GB, free: 45.59 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) * Number of clocked states: 0 () * 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.006699/9.766, allocations: 2.859 MB / 4.241 GB, free: 44.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00712/9.773, allocations: 5.345 MB / 4.246 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/9.773, allocations: 3.719 kB / 4.246 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/9.775, allocations: 1.846 MB / 4.248 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008392/9.784, allocations: 1.61 MB / 4.25 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/9.797, allocations: 6.856 MB / 4.256 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/9.8, allocations: 2.068 MB / 4.258 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00387/9.804, allocations: 0.6349 MB / 4.259 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008403/9.805, allocations: 193.2 kB / 4.259 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/9.805, allocations: 1.781 kB / 4.259 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.1326/9.937, allocations: 87.67 MB / 4.345 GB, free: 33.78 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)