Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.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.NumberOfBeams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8148/0.8148, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.00115/0.001149, allocations: 180.5 kB / 191.5 MB, free: 5.762 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.477/1.477, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.001278/0.001277, allocations: 84.34 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00183/0.00183, allocations: 264.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004323, allocations: 13.91 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1623, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.837/5, allocations: 2.163 GB / 2.937 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/5, allocations: 111.8 kB / 2.937 GB, free: 204 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 13.04/18.04, allocations: 3.733 GB / 6.67 GB, free: 35.91 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.835e-06/18.04, allocations: 0 / 6.67 GB, free: 35.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00179/18.05, allocations: 180.5 kB / 6.67 GB, free: 35.89 MB / 0.8698 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.0386/18.08, allocations: 9.791 MB / 6.68 GB, free: 30.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/18.08, allocations: 9.844 kB / 6.68 GB, free: 30.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/18.1, allocations: 1.848 MB / 6.682 GB, free: 30.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03024/18.13, allocations: 9.262 MB / 6.691 GB, free: 26.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001832/18.13, allocations: 0.5902 MB / 6.691 GB, free: 26.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002884/18.13, allocations: 450.3 kB / 6.692 GB, free: 26.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/18.15, allocations: 5.533 MB / 6.697 GB, free: 24.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/18.15, allocations: 7.547 kB / 6.697 GB, free: 24.15 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000713/18.15, allocations: 176.4 kB / 6.697 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.341e-05/18.15, allocations: 96.62 kB / 6.698 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/18.17, allocations: 4.634 MB / 6.702 GB, free: 22.29 MB / 0.8698 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.05992/18.23, allocations: 24.64 MB / 6.726 GB, free: 120 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008326/18.23, allocations: 3.267 MB / 6.729 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0239/18.26, allocations: 8.024 MB / 6.737 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.686e-05/18.26, allocations: 52.56 kB / 6.737 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007073/18.27, allocations: 400.7 kB / 6.738 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=190): time 2.197e-05/18.27, allocations: 3.938 kB / 6.738 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=190): time 0.03475/18.3, allocations: 9.538 MB / 6.747 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000319/18.3, allocations: 413.8 kB / 6.747 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02344/18.32, allocations: 7.127 MB / 6.754 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001218/18.32, allocations: 85.69 kB / 6.754 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.7893/19.11, allocations: 3.582 MB / 6.758 GB, free: 69.34 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001473/19.12, allocations: 0.6293 MB / 6.758 GB, free: 69.31 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/19.12, allocations: 56.41 kB / 6.759 GB, free: 69.31 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002435/19.12, allocations: 421.3 kB / 6.759 GB, free: 69 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/19.12, allocations: 2.332 MB / 6.761 GB, free: 68.99 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006096/19.13, allocations: 3.552 MB / 6.765 GB, free: 67.64 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006705/19.13, allocations: 3.22 MB / 6.768 GB, free: 66.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.794e-05/19.13, allocations: 7.406 kB / 6.768 GB, free: 66.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.02184/19.16, allocations: 7.412 MB / 6.775 GB, free: 65.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003877/19.16, allocations: 14.45 MB / 6.789 GB, free: 50.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/19.16, allocations: 25.34 kB / 6.789 GB, free: 50.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/19.16, allocations: 0.6257 MB / 6.79 GB, free: 50.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/19.17, allocations: 0.598 MB / 6.79 GB, free: 50.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/19.17, allocations: 2.793 MB / 6.793 GB, free: 48.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008607/19.18, allocations: 0.5108 MB / 6.794 GB, free: 48.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/19.18, allocations: 199.5 kB / 6.794 GB, free: 48.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/19.18, allocations: 8.984 kB / 6.794 GB, free: 48.76 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0165/19.2, allocations: 7.52 MB / 6.801 GB, free: 47.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/19.2, allocations: 25.62 kB / 6.801 GB, free: 47.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/19.2, allocations: 0.6204 MB / 6.802 GB, free: 47.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/19.2, allocations: 0.59 MB / 6.802 GB, free: 47.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/19.2, allocations: 2.8 MB / 6.805 GB, free: 45.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008638/19.21, allocations: 0.4949 MB / 6.806 GB, free: 45.81 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/19.21, allocations: 193.9 kB / 6.806 GB, free: 45.81 MB / 0.9011 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.008035/19.22, allocations: 2.193 MB / 6.808 GB, free: 45.25 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003356/19.23, allocations: 0.7071 MB / 6.809 GB, free: 44.86 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/19.25, allocations: 6.282 MB / 6.815 GB, free: 44.27 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/19.25, allocations: 25.41 kB / 6.815 GB, free: 44.27 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.693e-05/19.25, allocations: 0 / 6.815 GB, free: 44.27 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001132/19.25, allocations: 7.078 kB / 6.815 GB, free: 44.27 MB / 0.9011 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.04235/19.29, allocations: 12.15 MB / 6.827 GB, free: 43.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/19.29, allocations: 3.812 kB / 6.827 GB, free: 43.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/19.29, allocations: 402.2 kB / 6.827 GB, free: 43.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/19.3, allocations: 0.5978 MB / 6.828 GB, free: 43.16 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007006/19.3, allocations: 69.7 kB / 6.828 GB, free: 43.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/19.3, allocations: 2.799 MB / 6.83 GB, free: 41.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/19.3, allocations: 6.562 kB / 6.83 GB, free: 41.07 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/19.32, allocations: 6.99 MB / 6.837 GB, free: 38.88 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005977/19.32, allocations: 1.414 MB / 6.839 GB, free: 38.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003156/19.33, allocations: 61.16 kB / 6.839 GB, free: 38.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006856/19.33, allocations: 447.7 kB / 6.839 GB, free: 38.39 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009697/19.33, allocations: 286 kB / 6.839 GB, free: 38.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007046/19.33, allocations: 109.1 kB / 6.839 GB, free: 38.38 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01605/19.35, allocations: 5.489 MB / 6.845 GB, free: 38.13 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.514e-06/19.35, allocations: 0.9688 kB / 6.845 GB, free: 38.13 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0202/19.37, allocations: 3.623 MB / 6.848 GB, free: 37.99 MB / 0.9011 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.01158/19.38, allocations: 7.217 MB / 6.855 GB, free: 34.84 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01899/19.4, allocations: 11.78 MB / 6.867 GB, free: 31.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/19.4, allocations: 4.938 kB / 6.867 GB, free: 31.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006436/19.41, allocations: 3.764 MB / 6.871 GB, free: 31.04 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02042/19.43, allocations: 3.517 MB / 6.874 GB, free: 30.93 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/19.46, allocations: 14.94 MB / 6.889 GB, free: 24.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008436/19.47, allocations: 3.98 MB / 6.893 GB, free: 23.97 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.009728/19.48, allocations: 1.466 MB / 6.894 GB, free: 23.74 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/19.48, allocations: 461.8 kB / 6.894 GB, free: 23.73 MB / 0.9011 GB Notification: Performance of SimCode: time 1.022e-06/19.48, allocations: 2.625 kB / 6.894 GB, free: 23.73 MB / 0.9011 GB Notification: Performance of Templates: time 0.3153/19.8, allocations: 192 MB / 7.082 GB, free: 14.24 MB / 0.948 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)