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 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.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.8311/0.8311, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001046/0.001046, allocations: 177 kB / 191.5 MB, free: 5.777 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.426/1.426, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.001029/0.001029, allocations: 84.39 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 275 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004467, allocations: 15.62 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1898, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.864/5.054, allocations: 2.163 GB / 2.937 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/5.054, allocations: 111.8 kB / 2.937 GB, free: 204 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 17.63/22.69, allocations: 4.523 GB / 7.46 GB, free: 59.15 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.146e-06/22.69, allocations: 0.9375 kB / 7.46 GB, free: 59.15 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001988/22.69, allocations: 192.4 kB / 7.46 GB, free: 59.12 MB / 0.9167 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.03552/22.72, allocations: 10.2 MB / 7.47 GB, free: 54.36 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/22.72, allocations: 12.22 kB / 7.47 GB, free: 54.36 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009148/22.73, allocations: 1.498 MB / 7.472 GB, free: 53.86 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/22.76, allocations: 9.811 MB / 7.481 GB, free: 52.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008931/22.76, allocations: 364.8 kB / 7.481 GB, free: 52.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00324/22.77, allocations: 481.9 kB / 7.482 GB, free: 52.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/22.78, allocations: 5.726 MB / 7.488 GB, free: 52.02 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/22.78, allocations: 7.094 kB / 7.488 GB, free: 52.02 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008227/22.78, allocations: 184.6 kB / 7.488 GB, free: 52.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/22.79, allocations: 169.8 kB / 7.488 GB, free: 52.01 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/22.8, allocations: 4.59 MB / 7.492 GB, free: 51.96 MB / 0.9167 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.05595/22.85, allocations: 25.16 MB / 7.517 GB, free: 42.65 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006381/22.86, allocations: 2.996 MB / 7.52 GB, free: 42.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01915/22.88, allocations: 8.292 MB / 7.528 GB, free: 39.21 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/22.88, allocations: 57.78 kB / 7.528 GB, free: 39.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005143/22.88, allocations: 426.6 kB / 7.528 GB, free: 39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=214): time 2.049e-05/22.88, allocations: 0 / 7.528 GB, free: 39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=214): time 0.01386/22.9, allocations: 7.093 MB / 7.535 GB, free: 37 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/22.9, allocations: 417.3 kB / 7.536 GB, free: 36.56 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0189/22.92, allocations: 7.343 MB / 7.543 GB, free: 36.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001047/22.92, allocations: 91.39 kB / 7.543 GB, free: 36.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005307/22.92, allocations: 3.734 MB / 7.547 GB, free: 35.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/22.92, allocations: 0.7224 MB / 7.547 GB, free: 34.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006809/22.93, allocations: 62.88 kB / 7.547 GB, free: 34.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002662/22.93, allocations: 443 kB / 7.548 GB, free: 34.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/22.93, allocations: 2.197 MB / 7.55 GB, free: 34.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/22.93, allocations: 3.507 MB / 7.553 GB, free: 32.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/22.94, allocations: 3.169 MB / 7.556 GB, free: 32.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/22.94, allocations: 11 kB / 7.557 GB, free: 32.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01231/22.95, allocations: 6.949 MB / 7.563 GB, free: 30.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002976/22.95, allocations: 15.83 MB / 7.579 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-05/22.95, allocations: 27.03 kB / 7.579 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.097e-05/22.95, allocations: 46.34 kB / 7.579 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/22.96, allocations: 0.6683 MB / 7.579 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.232e-05/22.96, allocations: 59.28 kB / 7.58 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007832/22.96, allocations: 450.1 kB / 7.58 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/22.97, allocations: 215.1 kB / 7.58 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/22.97, allocations: 3.906 kB / 7.58 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/22.98, allocations: 7.022 MB / 7.587 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/22.98, allocations: 33.69 kB / 7.587 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.92e-05/22.98, allocations: 49.55 kB / 7.587 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/22.98, allocations: 0.6664 MB / 7.588 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.71e-05/22.98, allocations: 59.78 kB / 7.588 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009051/22.99, allocations: 442.3 kB / 7.588 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/22.99, allocations: 209 kB / 7.588 GB, free: 13.93 MB / 0.9167 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.007132/23, allocations: 2.296 MB / 7.591 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003034/23, allocations: 0.73 MB / 7.591 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/23.01, allocations: 5.234 MB / 7.596 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/23.01, allocations: 23.52 kB / 7.597 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/23.01, allocations: 3.953 kB / 7.597 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007015/23.02, allocations: 4.247 MB / 7.601 GB, free: 11.71 MB / 0.9167 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.03205/23.05, allocations: 11.62 MB / 7.612 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/23.05, allocations: 4.781 kB / 7.612 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/23.06, allocations: 425 kB / 7.612 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-05/23.06, allocations: 14.16 kB / 7.612 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004728/23.06, allocations: 86.52 kB / 7.613 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-05/23.06, allocations: 14.16 kB / 7.613 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/23.06, allocations: 7.156 kB / 7.613 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/23.07, allocations: 8.923 MB / 7.621 GB, free: 24.18 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006458/23.08, allocations: 1.451 MB / 7.623 GB, free: 23.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003325/23.08, allocations: 64.03 kB / 7.623 GB, free: 23.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006913/23.09, allocations: 346 kB / 7.623 GB, free: 23.67 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/23.09, allocations: 297.5 kB / 7.623 GB, free: 23.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007668/23.09, allocations: 118.2 kB / 7.623 GB, free: 23.66 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01562/23.11, allocations: 5.648 MB / 7.629 GB, free: 23.41 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.833e-06/23.11, allocations: 1.375 kB / 7.629 GB, free: 23.41 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02308/23.13, allocations: 3.897 MB / 7.633 GB, free: 22.97 MB / 0.9323 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.01483/23.14, allocations: 7.28 MB / 7.64 GB, free: 19.56 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01855/23.16, allocations: 11.42 MB / 7.651 GB, free: 16.47 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/23.16, allocations: 0 / 7.651 GB, free: 16.47 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006/23.17, allocations: 3.747 MB / 7.655 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02087/23.19, allocations: 3.814 MB / 7.658 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/23.23, allocations: 15.56 MB / 7.674 GB, free: 8.992 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009999/23.24, allocations: 4.141 MB / 7.678 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01425/23.25, allocations: 1.617 MB / 7.679 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00385/23.25, allocations: 0.4947 MB / 7.68 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of SimCode: time 2.134e-06/23.25, allocations: 2.297 kB / 7.68 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of Templates: time 1.079/24.33, allocations: 186 MB / 7.861 GB, free: 80.48 MB / 0.948 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)