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.773/0.773, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 183.9 kB / 187.3 MB, free: 11.89 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.436/1.436, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.001066/0.001066, allocations: 96.5 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 278.3 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.497e-05/5.532e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4791, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.899/6.378, allocations: 2.163 GB / 2.928 GB, free: 105.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/6.378, allocations: 109.2 kB / 2.928 GB, free: 105.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 19.03/25.41, allocations: 4.511 GB / 7.438 GB, free: 56.78 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.405e-06/25.41, allocations: 0 / 7.438 GB, free: 56.78 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001572/25.41, allocations: 195.1 kB / 7.439 GB, free: 56.75 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.02426/25.44, allocations: 8.018 MB / 7.447 GB, free: 52.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/25.44, allocations: 9.438 kB / 7.447 GB, free: 52.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/25.45, allocations: 1.501 MB / 7.448 GB, free: 52.01 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02873/25.48, allocations: 9.745 MB / 7.457 GB, free: 50.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004339/25.48, allocations: 364.7 kB / 7.458 GB, free: 50.75 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/25.48, allocations: 480.9 kB / 7.458 GB, free: 50.75 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/25.49, allocations: 5.553 MB / 7.464 GB, free: 50.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.305e-05/25.49, allocations: 5.688 kB / 7.464 GB, free: 50.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005425/25.49, allocations: 188.7 kB / 7.464 GB, free: 50.17 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/25.49, allocations: 163.1 kB / 7.464 GB, free: 50.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008334/25.5, allocations: 4.312 MB / 7.468 GB, free: 50.11 MB / 0.9167 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.05094/25.55, allocations: 25.16 MB / 7.493 GB, free: 40.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005758/25.56, allocations: 2.796 MB / 7.496 GB, free: 40.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/25.56, allocations: 1.826 MB / 7.497 GB, free: 40.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02065/25.58, allocations: 8.338 MB / 7.506 GB, free: 37.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.991e-05/25.58, allocations: 60.94 kB / 7.506 GB, free: 37.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005187/25.58, allocations: 430.5 kB / 7.506 GB, free: 37.12 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=214): time 1.48e-05/25.58, allocations: 1.906 kB / 7.506 GB, free: 37.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=214): time 0.01025/25.59, allocations: 4.294 MB / 7.51 GB, free: 36.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/25.6, allocations: 424.6 kB / 7.511 GB, free: 35.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02257/25.62, allocations: 7.258 MB / 7.518 GB, free: 35.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001706/25.62, allocations: 87.98 kB / 7.518 GB, free: 35.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008493/25.63, allocations: 3.743 MB / 7.521 GB, free: 34.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00196/25.63, allocations: 0.7217 MB / 7.522 GB, free: 33.97 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008982/25.63, allocations: 64.5 kB / 7.522 GB, free: 33.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004382/25.63, allocations: 434.1 kB / 7.523 GB, free: 33.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003701/25.64, allocations: 2.08 MB / 7.525 GB, free: 33.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004078/25.64, allocations: 3.389 MB / 7.528 GB, free: 32.21 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/25.64, allocations: 3.068 MB / 7.531 GB, free: 31.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/25.64, allocations: 8.094 kB / 7.531 GB, free: 31.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.0114/25.65, allocations: 6.717 MB / 7.537 GB, free: 30.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003469/25.66, allocations: 15.82 MB / 7.553 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-05/25.66, allocations: 29.97 kB / 7.553 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.341e-05/25.66, allocations: 46.47 kB / 7.553 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/25.66, allocations: 0.6711 MB / 7.554 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.266e-05/25.66, allocations: 58.86 kB / 7.554 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007933/25.67, allocations: 448.8 kB / 7.554 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/25.67, allocations: 220.5 kB / 7.554 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/25.67, allocations: 7.438 kB / 7.554 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009317/25.68, allocations: 6.78 MB / 7.561 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/25.68, allocations: 27.47 kB / 7.561 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.374e-05/25.68, allocations: 53 kB / 7.561 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/25.68, allocations: 0.6627 MB / 7.562 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.596e-05/25.68, allocations: 58.86 kB / 7.562 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007331/25.69, allocations: 442.2 kB / 7.562 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008656/25.69, allocations: 207.2 kB / 7.562 GB, free: 13.12 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 () * 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.00181/25.69, allocations: 0.6796 MB / 7.563 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003374/25.7, allocations: 0.7348 MB / 7.564 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/25.71, allocations: 5.002 MB / 7.569 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/25.71, allocations: 31.31 kB / 7.569 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/25.71, allocations: 5.922 kB / 7.569 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005222/25.71, allocations: 4.027 MB / 7.573 GB, free: 8.543 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.02999/25.74, allocations: 11.4 MB / 7.584 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/25.74, allocations: 6.625 kB / 7.584 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/25.74, allocations: 421 kB / 7.584 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/25.74, allocations: 15.25 kB / 7.584 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/25.74, allocations: 81.42 kB / 7.584 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-05/25.74, allocations: 13.66 kB / 7.584 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/25.74, allocations: 11.06 kB / 7.584 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/25.76, allocations: 8.709 MB / 7.593 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006661/25.76, allocations: 1.445 MB / 7.594 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002987/25.77, allocations: 61.78 kB / 7.594 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006135/25.77, allocations: 348.1 kB / 7.595 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006075/25.77, allocations: 298.7 kB / 7.595 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003557/25.77, allocations: 118.4 kB / 7.595 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01364/25.79, allocations: 5.562 MB / 7.6 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.81e-07/25.79, allocations: 0 / 7.6 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02133/25.81, allocations: 3.907 MB / 7.604 GB, free: 10.64 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) * 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.01405/25.82, allocations: 7.299 MB / 7.611 GB, free: 5.312 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01787/25.84, allocations: 11.37 MB / 7.622 GB, free: 9.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/25.84, allocations: 4 kB / 7.622 GB, free: 9.977 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005034/25.85, allocations: 3.632 MB / 7.626 GB, free: 6.449 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02199/25.87, allocations: 3.812 MB / 7.63 GB, free: 3.688 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8859/26.75, allocations: 11 MB / 7.64 GB, free: 87.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007161/26.76, allocations: 4.157 MB / 7.645 GB, free: 86.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01714/26.78, allocations: 2.681 MB / 7.647 GB, free: 86.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/26.78, allocations: 377.8 kB / 7.648 GB, free: 86.85 MB / 0.948 GB Notification: Performance of SimCode: time 1.823e-06/26.78, allocations: 0 / 7.648 GB, free: 86.85 MB / 0.948 GB Notification: Performance of Templates: time 0.3342/27.11, allocations: 209.2 MB / 7.852 GB, free: 70.34 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)