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.8622/0.8622, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001031/0.001031, allocations: 186.2 kB / 187.3 MB, free: 11.88 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.475/1.475, allocations: 221.3 MB / 441.4 MB, free: 4.641 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.0009128/0.0009128, allocations: 97.31 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.00177, allocations: 285.6 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.663e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.49, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.72/6.21, allocations: 2.163 GB / 2.927 GB, free: 158.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/6.211, allocations: 107.2 kB / 2.927 GB, free: 158.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 14.79/21, allocations: 3.723 GB / 6.651 GB, free: 16.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/21, allocations: 0 / 6.651 GB, free: 16.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001734/21, allocations: 179.9 kB / 6.651 GB, free: 16.31 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.02234/21.02, allocations: 7.64 MB / 6.658 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/21.02, allocations: 12.03 kB / 6.658 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/21.04, allocations: 1.859 MB / 6.66 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02771/21.06, allocations: 9.183 MB / 6.669 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001746/21.07, allocations: 0.5943 MB / 6.67 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/21.07, allocations: 440 kB / 6.67 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/21.08, allocations: 5.189 MB / 6.675 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.113e-05/21.08, allocations: 3.938 kB / 6.675 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000616/21.08, allocations: 168 kB / 6.675 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.258e-05/21.08, allocations: 105.6 kB / 6.675 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009316/21.09, allocations: 3.989 MB / 6.679 GB, free: 2.688 MB / 0.8855 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.9324/22.02, allocations: 24.62 MB / 6.703 GB, free: 35.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/22.03, allocations: 2.637 MB / 6.706 GB, free: 35.91 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/22.03, allocations: 1.75 MB / 6.708 GB, free: 35.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/22.05, allocations: 8.063 MB / 6.716 GB, free: 32.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/22.05, allocations: 57.31 kB / 6.716 GB, free: 32.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00404/22.05, allocations: 398.9 kB / 6.716 GB, free: 32.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=190): time 1.353e-05/22.05, allocations: 2.219 kB / 6.716 GB, free: 32.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=190): time 0.01229/22.06, allocations: 4.92 MB / 6.721 GB, free: 31.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/22.06, allocations: 412.6 kB / 6.721 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01947/22.08, allocations: 7.054 MB / 6.728 GB, free: 30.69 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001241/22.08, allocations: 82.36 kB / 6.728 GB, free: 30.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.005172/22.09, allocations: 3.586 MB / 6.732 GB, free: 30.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/22.09, allocations: 0.6335 MB / 6.732 GB, free: 29.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/22.09, allocations: 56.44 kB / 6.732 GB, free: 29.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002162/22.09, allocations: 416 kB / 6.733 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/22.09, allocations: 2.033 MB / 6.735 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/22.1, allocations: 3.246 MB / 6.738 GB, free: 28.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/22.1, allocations: 2.929 MB / 6.741 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/22.1, allocations: 9.172 kB / 6.741 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01276/22.11, allocations: 6.732 MB / 6.747 GB, free: 26.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.005452/22.12, allocations: 14.44 MB / 6.761 GB, free: 27.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.094e-05/22.12, allocations: 26.41 kB / 6.761 GB, free: 27.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/22.12, allocations: 493.1 kB / 6.762 GB, free: 27.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/22.12, allocations: 0.5958 MB / 6.763 GB, free: 27.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/22.13, allocations: 2.587 MB / 6.765 GB, free: 25.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00857/22.13, allocations: 0.5058 MB / 6.766 GB, free: 25.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/22.14, allocations: 197.9 kB / 6.766 GB, free: 25.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/22.14, allocations: 6.062 kB / 6.766 GB, free: 25.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/22.15, allocations: 6.835 MB / 6.772 GB, free: 24.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/22.15, allocations: 25.12 kB / 6.772 GB, free: 24.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/22.15, allocations: 496.6 kB / 6.773 GB, free: 24.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/22.15, allocations: 0.5839 MB / 6.773 GB, free: 24.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/22.16, allocations: 2.585 MB / 6.776 GB, free: 22.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007964/22.16, allocations: 0.4991 MB / 6.776 GB, free: 22.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/22.16, allocations: 197.3 kB / 6.777 GB, free: 22.24 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 () * 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.001512/22.17, allocations: 0.6562 MB / 6.777 GB, free: 21.76 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002481/22.17, allocations: 0.7036 MB / 6.778 GB, free: 21.38 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/22.18, allocations: 5.614 MB / 6.783 GB, free: 20.79 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/22.18, allocations: 23.39 kB / 6.784 GB, free: 20.79 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/22.18, allocations: 3.344 kB / 6.784 GB, free: 20.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/22.18, allocations: 10.97 kB / 6.784 GB, free: 20.79 MB / 0.9011 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.03019/22.21, allocations: 11.47 MB / 6.795 GB, free: 19.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/22.21, allocations: 5.562 kB / 6.795 GB, free: 19.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/22.21, allocations: 400.9 kB / 6.795 GB, free: 19.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/22.22, allocations: 468.8 kB / 6.796 GB, free: 19.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003925/22.22, allocations: 74.73 kB / 6.796 GB, free: 19.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/22.22, allocations: 2.579 MB / 6.798 GB, free: 17.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/22.22, allocations: 5.125 kB / 6.798 GB, free: 17.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/22.23, allocations: 6.315 MB / 6.804 GB, free: 31.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005107/22.24, allocations: 1.409 MB / 6.806 GB, free: 30.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002698/22.24, allocations: 62.59 kB / 6.806 GB, free: 30.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005553/22.25, allocations: 455.5 kB / 6.806 GB, free: 30.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/22.25, allocations: 277.8 kB / 6.806 GB, free: 30.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/22.25, allocations: 109.6 kB / 6.807 GB, free: 30.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01075/22.26, allocations: 5.412 MB / 6.812 GB, free: 30.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.11e-07/22.26, allocations: 0 / 6.812 GB, free: 30.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01708/22.27, allocations: 3.622 MB / 6.815 GB, free: 30.46 MB / 0.9167 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) * 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.01226/22.29, allocations: 7.24 MB / 6.822 GB, free: 27.28 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01777/22.3, allocations: 11.16 MB / 6.833 GB, free: 24.18 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/22.3, allocations: 3.281 kB / 6.833 GB, free: 24.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004823/22.31, allocations: 3.464 MB / 6.837 GB, free: 23.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01878/22.33, allocations: 3.521 MB / 6.84 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/22.35, allocations: 10.42 MB / 6.85 GB, free: 21.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006908/22.36, allocations: 4.002 MB / 6.854 GB, free: 20.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01482/22.37, allocations: 2.488 MB / 6.857 GB, free: 19.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/22.37, allocations: 345.2 kB / 6.857 GB, free: 19.98 MB / 0.9167 GB Notification: Performance of SimCode: time 1.142e-06/22.37, allocations: 0 / 6.857 GB, free: 19.98 MB / 0.9167 GB Notification: Performance of Templates: time 1.092/23.47, allocations: 206.9 MB / 7.059 GB, free: 107.2 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)