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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.788/0.788, allocations: 140 MB / 156 MB, free: 8.402 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 184.5 kB / 188.5 MB, free: 8.988 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 426.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008387/0.0008387, allocations: 86.33 kB / 0.4945 GB, free: 8.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001624/0.001624, allocations: 272.5 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004757, allocations: 20 kB / 0.662 GB, free: 6.707 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3533, allocations: 79.29 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.794/5.147, allocations: 2.314 GB / 3.053 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/5.148, allocations: 107.9 kB / 3.053 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.242/9.389, allocations: 1.223 GB / 4.276 GB, free: 61.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/9.389, allocations: 0 / 4.276 GB, free: 61.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003451/9.39, allocations: 80.86 kB / 4.276 GB, free: 61.78 MB / 0.7136 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.008687/9.399, allocations: 4.1 MB / 4.28 GB, free: 59.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/9.399, allocations: 10.5 kB / 4.28 GB, free: 59.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/9.401, allocations: 0.515 MB / 4.281 GB, free: 59.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/9.407, allocations: 3.376 MB / 4.284 GB, free: 58.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/9.408, allocations: 161.9 kB / 4.284 GB, free: 58.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/9.408, allocations: 205.4 kB / 4.284 GB, free: 58.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003719/9.412, allocations: 2.43 MB / 4.287 GB, free: 58.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/9.412, allocations: 6.719 kB / 4.287 GB, free: 58.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/9.412, allocations: 81.38 kB / 4.287 GB, free: 58.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/9.412, allocations: 67.36 kB / 4.287 GB, free: 58.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/9.415, allocations: 1.904 MB / 4.289 GB, free: 58.65 MB / 0.7136 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.01265/9.427, allocations: 9.783 MB / 4.298 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/9.429, allocations: 1.374 MB / 4.3 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/9.43, allocations: 0.9608 MB / 4.301 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000773/9.431, allocations: 1.179 MB / 4.302 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/9.431, allocations: 53.19 kB / 4.302 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 4.549e-06/9.431, allocations: 0 / 4.302 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.008837/9.44, allocations: 5.74 MB / 4.307 GB, free: 52.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/9.44, allocations: 292.8 kB / 4.308 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/9.445, allocations: 3.31 MB / 4.311 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003411/9.445, allocations: 55.08 kB / 4.311 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/9.446, allocations: 1.401 MB / 4.312 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/9.447, allocations: 391.6 kB / 4.313 GB, free: 51.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/9.447, allocations: 27.94 kB / 4.313 GB, free: 51.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/9.447, allocations: 360.4 kB / 4.313 GB, free: 51.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/9.448, allocations: 1.02 MB / 4.314 GB, free: 51.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/9.45, allocations: 1.447 MB / 4.316 GB, free: 50.84 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009311/9.459, allocations: 6.61 MB / 4.322 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/9.459, allocations: 4.594 kB / 4.322 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00462/9.464, allocations: 3.088 MB / 4.325 GB, free: 48.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002956/9.464, allocations: 0.6388 MB / 4.326 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/9.464, allocations: 8.438 kB / 4.326 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/9.464, allocations: 11.44 kB / 4.326 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/9.465, allocations: 266.1 kB / 4.326 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002898/9.465, allocations: 0.6204 MB / 4.326 GB, free: 47.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/9.468, allocations: 184 kB / 4.327 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/9.468, allocations: 84.19 kB / 4.327 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/9.468, allocations: 3.812 kB / 4.327 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003537/9.472, allocations: 3.193 MB / 4.33 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/9.472, allocations: 5.094 kB / 4.33 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/9.472, allocations: 12.06 kB / 4.33 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/9.472, allocations: 242.8 kB / 4.33 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/9.472, allocations: 19.92 kB / 4.33 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/9.475, allocations: 175.8 kB / 4.33 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/9.475, allocations: 75.52 kB / 4.33 GB, free: 46.89 MB / 0.7136 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.001956/9.477, allocations: 1.102 MB / 4.331 GB, free: 46.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006255/9.478, allocations: 310 kB / 4.332 GB, free: 46.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/9.481, allocations: 2.364 MB / 4.334 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/9.481, allocations: 12.81 kB / 4.334 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/9.481, allocations: 0.5625 kB / 4.334 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002143/9.483, allocations: 2.146 MB / 4.336 GB, free: 45.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007639/9.491, allocations: 5.593 MB / 4.342 GB, free: 44.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/9.491, allocations: 3.562 kB / 4.342 GB, free: 44.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009175/9.492, allocations: 227.5 kB / 4.342 GB, free: 44.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/9.492, allocations: 11.28 kB / 4.342 GB, free: 44.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.02e-05/9.492, allocations: 39.11 kB / 4.342 GB, free: 44.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002217/9.492, allocations: 0.6133 MB / 4.342 GB, free: 44.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/9.492, allocations: 14.12 kB / 4.342 GB, free: 44.24 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/9.496, allocations: 3.836 MB / 4.346 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/9.498, allocations: 0.6788 MB / 4.347 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/9.498, allocations: 36.84 kB / 4.347 GB, free: 43.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/9.5, allocations: 149.8 kB / 4.347 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/9.5, allocations: 150.5 kB / 4.347 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/9.5, allocations: 52.84 kB / 4.347 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003508/9.504, allocations: 2.296 MB / 4.35 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/9.504, allocations: 0 / 4.35 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005227/9.509, allocations: 1.436 MB / 4.351 GB, free: 43.03 MB / 0.7136 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.004006/9.513, allocations: 2.835 MB / 4.354 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005612/9.519, allocations: 5.358 MB / 4.359 GB, free: 40.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/9.519, allocations: 0 / 4.359 GB, free: 40.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002077/9.521, allocations: 1.858 MB / 4.361 GB, free: 40.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01071/9.531, allocations: 1.618 MB / 4.362 GB, free: 40.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/9.543, allocations: 6.857 MB / 4.369 GB, free: 37.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002215/9.545, allocations: 2.007 MB / 4.371 GB, free: 36.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003291/9.548, allocations: 0.6342 MB / 4.372 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007305/9.549, allocations: 197.4 kB / 4.372 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of SimCode: time 1.323e-06/9.549, allocations: 0 / 4.372 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.1195/9.668, allocations: 88.47 MB / 4.458 GB, free: 22.03 MB / 0.7136 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)