Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.425/2.425, allocations: 284.8 MB / 297.3 MB, free: 6.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 192.6 kB / 365.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.1 MB / 0.6241 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001023, allocations: 91.59 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.109e-05, allocations: 4 kB / 0.8574 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7954, allocations: 115.2 MB / 0.97 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.977/7.772, allocations: 2.344 GB / 3.314 GB, free: 112.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/7.772, allocations: 95.52 kB / 3.314 GB, free: 112.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.133/14.91, allocations: 1.233 GB / 4.547 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.134e-06/14.91, allocations: 0 / 4.547 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006869/14.91, allocations: 82.84 kB / 4.547 GB, free: 111.4 MB / 0.9792 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.01143/14.92, allocations: 3.463 MB / 4.551 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/14.92, allocations: 12.56 kB / 4.551 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/14.92, allocations: 0.5147 MB / 4.551 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/14.93, allocations: 3.285 MB / 4.554 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/14.93, allocations: 154.8 kB / 4.554 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009052/14.93, allocations: 207.2 kB / 4.555 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00717/14.94, allocations: 2.369 MB / 4.557 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-05/14.94, allocations: 3.438 kB / 4.557 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003376/14.94, allocations: 80.7 kB / 4.557 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-05/14.94, allocations: 80.08 kB / 4.557 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00579/14.95, allocations: 1.818 MB / 4.559 GB, free: 109.1 MB / 0.9792 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.0234/14.97, allocations: 9.835 MB / 4.569 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/14.97, allocations: 1.338 MB / 4.57 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/14.98, allocations: 0.9271 MB / 4.571 GB, free: 106 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/14.98, allocations: 1.177 MB / 4.572 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/14.98, allocations: 45.84 kB / 4.572 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=113): time 4.669e-06/14.98, allocations: 0 / 4.572 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.01449/14.99, allocations: 4.846 MB / 4.577 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/14.99, allocations: 284.3 kB / 4.577 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007615/15, allocations: 2.976 MB / 4.58 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005327/15, allocations: 61.08 kB / 4.58 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001806/15, allocations: 1.406 MB / 4.581 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006758/15, allocations: 393 kB / 4.582 GB, free: 102 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/15, allocations: 29.06 kB / 4.582 GB, free: 102 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001227/15, allocations: 359.3 kB / 4.582 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/15.01, allocations: 0.9888 MB / 4.583 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/15.01, allocations: 1.418 MB / 4.584 GB, free: 101.3 MB / 0.9792 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.009407/15.02, allocations: 2.925 MB / 4.587 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/15.02, allocations: 2.219 kB / 4.587 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00772/15.03, allocations: 3.027 MB / 4.59 GB, free: 99.96 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008307/15.03, allocations: 2.916 MB / 4.593 GB, free: 96.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/15.03, allocations: 5.625 kB / 4.593 GB, free: 96.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.687e-05/15.03, allocations: 14.03 kB / 4.593 GB, free: 96.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/15.03, allocations: 260.8 kB / 4.593 GB, free: 96.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004758/15.03, allocations: 0.6172 MB / 4.594 GB, free: 96.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/15.03, allocations: 175.8 kB / 4.594 GB, free: 96.31 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005737/15.03, allocations: 84.22 kB / 4.594 GB, free: 96.31 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/15.03, allocations: 6.625 kB / 4.594 GB, free: 96.31 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006912/15.04, allocations: 3.121 MB / 4.597 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/15.04, allocations: 6.75 kB / 4.597 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/15.04, allocations: 12.06 kB / 4.597 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/15.04, allocations: 244.6 kB / 4.597 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/15.04, allocations: 17.53 kB / 4.597 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/15.05, allocations: 182.6 kB / 4.598 GB, free: 95.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005276/15.05, allocations: 78.66 kB / 4.598 GB, free: 95.9 MB / 0.9792 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.0007296/15.05, allocations: 385.6 kB / 4.598 GB, free: 95.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/15.05, allocations: 312.3 kB / 4.598 GB, free: 95.43 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/15.06, allocations: 2.313 MB / 4.601 GB, free: 95.14 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/15.06, allocations: 10.88 kB / 4.601 GB, free: 95.14 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/15.06, allocations: 0 / 4.601 GB, free: 95.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004227/15.06, allocations: 2.086 MB / 4.603 GB, free: 94.68 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/15.08, allocations: 5.561 MB / 4.608 GB, free: 93.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/15.08, allocations: 11.73 kB / 4.608 GB, free: 93.92 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/15.08, allocations: 222.8 kB / 4.608 GB, free: 93.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.53e-05/15.08, allocations: 10.53 kB / 4.608 GB, free: 93.92 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/15.08, allocations: 45.06 kB / 4.608 GB, free: 93.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003405/15.08, allocations: 0.6029 MB / 4.609 GB, free: 93.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/15.08, allocations: 9.031 kB / 4.609 GB, free: 93.34 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00857/15.09, allocations: 4.361 MB / 4.613 GB, free: 91.88 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002745/15.09, allocations: 0.6796 MB / 4.614 GB, free: 91.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/15.09, allocations: 36.31 kB / 4.614 GB, free: 91.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/15.09, allocations: 153.1 kB / 4.614 GB, free: 91.61 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005922/15.09, allocations: 151.8 kB / 4.614 GB, free: 91.61 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/15.1, allocations: 56.78 kB / 4.614 GB, free: 91.61 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006721/15.1, allocations: 2.301 MB / 4.617 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.062e-06/15.1, allocations: 0 / 4.617 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008298/15.11, allocations: 1.458 MB / 4.618 GB, free: 91.39 MB / 0.9792 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.006338/15.12, allocations: 2.891 MB / 4.621 GB, free: 90.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009609/15.13, allocations: 5.377 MB / 4.626 GB, free: 88.86 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/15.13, allocations: 0 / 4.626 GB, free: 88.86 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003545/15.13, allocations: 1.827 MB / 4.628 GB, free: 88.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/15.14, allocations: 1.608 MB / 4.629 GB, free: 88.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/15.16, allocations: 4.885 MB / 4.634 GB, free: 87.28 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/15.16, allocations: 2.077 MB / 4.636 GB, free: 86.54 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007462/15.17, allocations: 1.048 MB / 4.637 GB, free: 86.51 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/15.17, allocations: 143.4 kB / 4.637 GB, free: 86.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.493e-06/15.17, allocations: 0 / 4.637 GB, free: 86.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.2213/15.39, allocations: 98 MB / 4.733 GB, free: 81.2 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)