Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7564/0.7564, allocations: 140.1 MB / 156 MB, free: 5.156 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.001082/0.001082, allocations: 177.5 kB / 188.5 MB, free: 15.81 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.608/1.608, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0009472/0.0009475, allocations: 102.3 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001745/0.001745, allocations: 277.2 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004936, allocations: 16 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4237, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.705/5.129, allocations: 2.346 GB / 3.085 GB, free: 239 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/5.129, allocations: 109.2 kB / 3.085 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 16.34/21.47, allocations: 4.418 GB / 7.503 GB, free: 50.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.204e-06/21.47, allocations: 4.594 kB / 7.503 GB, free: 50.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001525/21.47, allocations: 195.6 kB / 7.504 GB, free: 50.78 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.03613/21.5, allocations: 10.11 MB / 7.513 GB, free: 46.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/21.5, allocations: 12.16 kB / 7.513 GB, free: 46.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009639/21.51, allocations: 1.494 MB / 7.515 GB, free: 45.58 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.031/21.54, allocations: 9.851 MB / 7.524 GB, free: 44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005316/21.55, allocations: 367.7 kB / 7.525 GB, free: 43.99 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/21.55, allocations: 480.7 kB / 7.525 GB, free: 43.99 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/21.56, allocations: 5.749 MB / 7.531 GB, free: 43.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/21.56, allocations: 9.469 kB / 7.531 GB, free: 43.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000535/21.56, allocations: 193.3 kB / 7.531 GB, free: 43.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/21.56, allocations: 163.8 kB / 7.531 GB, free: 43.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/21.57, allocations: 4.589 MB / 7.536 GB, free: 43.35 MB / 0.8855 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.04729/21.62, allocations: 24.97 MB / 7.56 GB, free: 34.04 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005729/21.62, allocations: 2.979 MB / 7.563 GB, free: 34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/21.63, allocations: 1.942 MB / 7.565 GB, free: 33.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/21.64, allocations: 8.174 MB / 7.573 GB, free: 30.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/21.64, allocations: 62.34 kB / 7.573 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004254/21.65, allocations: 410.6 kB / 7.573 GB, free: 30.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=214): time 1.419e-05/21.65, allocations: 0 / 7.573 GB, free: 30.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=214): time 0.01139/21.66, allocations: 6.116 MB / 7.579 GB, free: 29.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/21.66, allocations: 422 kB / 7.58 GB, free: 29.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01567/21.68, allocations: 8.061 MB / 7.588 GB, free: 28.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/21.68, allocations: 93.05 kB / 7.588 GB, free: 28.55 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003874/21.68, allocations: 3.738 MB / 7.591 GB, free: 27.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/21.68, allocations: 0.7197 MB / 7.592 GB, free: 27.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/21.68, allocations: 66.47 kB / 7.592 GB, free: 27.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000191/21.68, allocations: 436 kB / 7.593 GB, free: 26.94 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/21.69, allocations: 2.195 MB / 7.595 GB, free: 26.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/21.69, allocations: 3.513 MB / 7.598 GB, free: 25.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007263/21.7, allocations: 6.112 MB / 7.604 GB, free: 23.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/21.7, allocations: 8.375 kB / 7.604 GB, free: 23.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01192/21.71, allocations: 6.961 MB / 7.611 GB, free: 22.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008912/21.71, allocations: 1.677 MB / 7.613 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/21.71, allocations: 26.5 kB / 7.613 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.83e-05/21.71, allocations: 50.03 kB / 7.613 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/21.71, allocations: 0.6547 MB / 7.613 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.615e-05/21.71, allocations: 66.56 kB / 7.613 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006892/21.72, allocations: 447.6 kB / 7.614 GB, free: 20.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006341/21.72, allocations: 213.7 kB / 7.614 GB, free: 20.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/21.72, allocations: 2.062 kB / 7.614 GB, free: 20.17 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01028/21.73, allocations: 7.045 MB / 7.621 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.03e-05/21.73, allocations: 26.09 kB / 7.621 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.957e-05/21.73, allocations: 46.16 kB / 7.621 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/21.73, allocations: 0.646 MB / 7.622 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.044e-05/21.73, allocations: 61.47 kB / 7.622 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006916/21.74, allocations: 446.1 kB / 7.622 GB, free: 19.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005548/21.74, allocations: 209.6 kB / 7.622 GB, free: 19.32 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 339 * Array equations: 4 * Algorithm blocks: 24 * 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.006106/21.75, allocations: 2.3 MB / 7.624 GB, free: 18.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002532/21.75, allocations: 0.7316 MB / 7.625 GB, free: 18.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/21.76, allocations: 5.219 MB / 7.63 GB, free: 17.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/21.76, allocations: 23.86 kB / 7.63 GB, free: 17.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/21.76, allocations: 2.281 kB / 7.63 GB, free: 17.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007223/21.77, allocations: 4.263 MB / 7.634 GB, free: 17.1 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.03426/21.8, allocations: 11.54 MB / 7.646 GB, free: 16.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/21.8, allocations: 12.16 kB / 7.646 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/21.81, allocations: 433.4 kB / 7.646 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.759e-05/21.81, allocations: 10.75 kB / 7.646 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003972/21.81, allocations: 81.67 kB / 7.646 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.579e-05/21.81, allocations: 16 kB / 7.646 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/21.81, allocations: 10 kB / 7.646 GB, free: 16.01 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/21.82, allocations: 7.841 MB / 7.654 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005265/21.83, allocations: 1.405 MB / 7.655 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002873/21.83, allocations: 66.53 kB / 7.655 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00584/21.83, allocations: 349.3 kB / 7.656 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/21.83, allocations: 294.9 kB / 7.656 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004168/21.83, allocations: 117.2 kB / 7.656 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01484/21.85, allocations: 5.491 MB / 7.661 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/21.85, allocations: 0 / 7.661 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02137/21.87, allocations: 3.779 MB / 7.665 GB, free: 13.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.01144/21.88, allocations: 7.088 MB / 7.672 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01869/21.9, allocations: 11.43 MB / 7.683 GB, free: 23.27 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.8e-05/21.9, allocations: 3.125 kB / 7.683 GB, free: 23.27 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006623/21.91, allocations: 3.745 MB / 7.687 GB, free: 22.51 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03212/21.94, allocations: 3.818 MB / 7.691 GB, free: 22.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/21.97, allocations: 15.55 MB / 7.706 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004762/21.97, allocations: 3.99 MB / 7.71 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.009252/21.98, allocations: 1.611 MB / 7.711 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/21.98, allocations: 0.4915 MB / 7.712 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of SimCode: time 1.002e-06/21.98, allocations: 0 / 7.712 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of Templates: time 0.9922/22.98, allocations: 185.9 MB / 7.893 GB, free: 75.78 MB / 0.9167 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)