Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.677/1.677, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 0.6626 GB, free: 4.285 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007762/0.0007761, allocations: 99.11 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 12 kB / 0.9088 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5649, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.62/4.185, allocations: 2.195 GB / 3.221 GB, free: 33.74 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/4.185, allocations: 109.6 kB / 3.221 GB, free: 33.63 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 12.79/16.98, allocations: 3.698 GB / 6.919 GB, free: 75.78 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.066e-06/16.98, allocations: 0.5 kB / 6.919 GB, free: 75.78 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001976/16.98, allocations: 187.7 kB / 6.919 GB, free: 75.75 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.03644/17.02, allocations: 9.697 MB / 6.929 GB, free: 71.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/17.02, allocations: 11.25 kB / 6.929 GB, free: 71.12 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/17.03, allocations: 1.852 MB / 6.93 GB, free: 70.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03808/17.07, allocations: 9.359 MB / 6.94 GB, free: 69.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002147/17.07, allocations: 0.5896 MB / 6.94 GB, free: 69.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002692/17.07, allocations: 448.8 kB / 6.941 GB, free: 69.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/17.09, allocations: 5.562 MB / 6.946 GB, free: 68.55 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002856/17.09, allocations: 5.406 kB / 6.946 GB, free: 68.55 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001934/17.1, allocations: 167.9 kB / 6.946 GB, free: 68.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/17.1, allocations: 100.3 kB / 6.946 GB, free: 68.55 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/17.11, allocations: 4.636 MB / 6.951 GB, free: 68.52 MB / 1.151 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.06653/17.18, allocations: 24.46 MB / 6.975 GB, free: 59.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/17.19, allocations: 3.27 MB / 6.978 GB, free: 59.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007026/17.2, allocations: 2.049 MB / 6.98 GB, free: 59.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/17.22, allocations: 7.929 MB / 6.988 GB, free: 55.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.168e-05/17.22, allocations: 54.69 kB / 6.988 GB, free: 55.64 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006249/17.23, allocations: 388 kB / 6.988 GB, free: 55.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=190): time 2.393e-05/17.23, allocations: 0 / 6.988 GB, free: 55.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=190): time 0.03394/17.26, allocations: 8.572 MB / 6.996 GB, free: 54.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002922/17.26, allocations: 417.6 kB / 6.997 GB, free: 53.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02548/17.29, allocations: 7.861 MB / 7.004 GB, free: 53.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001372/17.29, allocations: 87.92 kB / 7.005 GB, free: 53.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006404/17.3, allocations: 3.583 MB / 7.008 GB, free: 52.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/17.3, allocations: 0.632 MB / 7.009 GB, free: 52.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/17.3, allocations: 56.94 kB / 7.009 GB, free: 52.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000274/17.3, allocations: 418.5 kB / 7.009 GB, free: 51.79 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00664/17.3, allocations: 2.332 MB / 7.011 GB, free: 51.78 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008195/17.31, allocations: 3.561 MB / 7.015 GB, free: 50.42 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/17.33, allocations: 6.213 MB / 7.021 GB, free: 48.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.406e-05/17.33, allocations: 9.969 kB / 7.021 GB, free: 48.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.0212/17.35, allocations: 7.432 MB / 7.028 GB, free: 47.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/17.35, allocations: 1.611 MB / 7.03 GB, free: 45.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.479e-05/17.35, allocations: 26.84 kB / 7.03 GB, free: 45.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/17.35, allocations: 0.6207 MB / 7.03 GB, free: 45.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/17.35, allocations: 0.5984 MB / 7.031 GB, free: 45.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/17.36, allocations: 2.797 MB / 7.034 GB, free: 43.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008368/17.37, allocations: 0.5064 MB / 7.034 GB, free: 43.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/17.37, allocations: 201.8 kB / 7.034 GB, free: 43.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/17.37, allocations: 7.812 kB / 7.034 GB, free: 43.21 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0183/17.39, allocations: 7.53 MB / 7.042 GB, free: 42.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/17.39, allocations: 27.52 kB / 7.042 GB, free: 42.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/17.39, allocations: 0.6228 MB / 7.042 GB, free: 42.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/17.39, allocations: 0.5886 MB / 7.043 GB, free: 42.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/17.39, allocations: 2.801 MB / 7.046 GB, free: 40.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00816/17.4, allocations: 0.4954 MB / 7.046 GB, free: 40.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/17.4, allocations: 194.7 kB / 7.046 GB, free: 40.25 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (299): * Single equations (assignments): 267 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.007609/17.41, allocations: 2.2 MB / 7.049 GB, free: 39.67 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003284/17.41, allocations: 0.7099 MB / 7.049 GB, free: 39.29 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/17.43, allocations: 6.284 MB / 7.055 GB, free: 38.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.134e-05/17.43, allocations: 21.5 kB / 7.055 GB, free: 38.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/17.43, allocations: 2.938 kB / 7.055 GB, free: 38.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.685e-05/17.43, allocations: 11.11 kB / 7.055 GB, free: 38.7 MB / 1.151 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.03779/17.47, allocations: 12.07 MB / 7.067 GB, free: 37.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/17.47, allocations: 8.984 kB / 7.067 GB, free: 37.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/17.47, allocations: 401 kB / 7.068 GB, free: 37.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/17.47, allocations: 0.5922 MB / 7.068 GB, free: 37.56 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000605/17.48, allocations: 75.7 kB / 7.068 GB, free: 37.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/17.48, allocations: 2.793 MB / 7.071 GB, free: 35.48 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/17.48, allocations: 5.844 kB / 7.071 GB, free: 35.48 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/17.49, allocations: 6.125 MB / 7.077 GB, free: 34.21 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006291/17.5, allocations: 1.379 MB / 7.078 GB, free: 33.72 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003838/17.5, allocations: 59.81 kB / 7.078 GB, free: 33.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007335/17.51, allocations: 446.9 kB / 7.079 GB, free: 33.67 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/17.51, allocations: 280.9 kB / 7.079 GB, free: 33.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007608/17.51, allocations: 109.5 kB / 7.079 GB, free: 33.66 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0159/17.53, allocations: 5.357 MB / 7.084 GB, free: 33.41 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.91e-07/17.53, allocations: 1.031 kB / 7.084 GB, free: 33.41 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.02178/17.55, allocations: 3.496 MB / 7.088 GB, free: 33.04 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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: 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 (186): * Single equations (assignments): 158 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0125/17.56, allocations: 7.016 MB / 7.095 GB, free: 29.33 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0204/17.58, allocations: 11.8 MB / 7.106 GB, free: 26.19 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/17.58, allocations: 3.562 kB / 7.106 GB, free: 26.19 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007044/17.59, allocations: 3.767 MB / 7.11 GB, free: 25.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03308/17.62, allocations: 3.521 MB / 7.113 GB, free: 25.21 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/17.66, allocations: 14.94 MB / 7.128 GB, free: 19.12 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008565/17.67, allocations: 3.836 MB / 7.132 GB, free: 18.23 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01189/17.68, allocations: 1.452 MB / 7.133 GB, free: 18 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003481/17.68, allocations: 457.7 kB / 7.133 GB, free: 17.99 MB / 1.151 GB Notification: Performance of SimCode: time 2.284e-06/17.68, allocations: 4 kB / 7.133 GB, free: 17.98 MB / 1.151 GB Notification: Performance of Templates: time 1.279/18.96, allocations: 194.2 MB / 7.323 GB, free: 123.5 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)