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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7538/0.7538, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 175.7 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 426.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 88.42 kB / 0.4945 GB, free: 8.434 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001687/0.001687, allocations: 269 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005308, allocations: 20 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4206, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.768/5.188, allocations: 2.345 GB / 3.085 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/5.188, allocations: 109.2 kB / 3.085 GB, free: 239.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 13.24/18.43, allocations: 3.68 GB / 6.765 GB, free: 39.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.266e-06/18.43, allocations: 0 / 6.765 GB, free: 39.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001754/18.43, allocations: 192.3 kB / 6.765 GB, free: 39.45 MB / 0.8542 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.03458/18.47, allocations: 9.683 MB / 6.775 GB, free: 34.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/18.47, allocations: 14 kB / 6.775 GB, free: 34.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/18.48, allocations: 1.86 MB / 6.777 GB, free: 33.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0306/18.51, allocations: 9.357 MB / 6.786 GB, free: 32.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001857/18.51, allocations: 0.591 MB / 6.786 GB, free: 32.04 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/18.51, allocations: 444.9 kB / 6.787 GB, free: 32.04 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/18.53, allocations: 5.553 MB / 6.792 GB, free: 31.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002456/18.53, allocations: 3.938 kB / 6.792 GB, free: 31.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/18.53, allocations: 174.2 kB / 6.792 GB, free: 31.44 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-05/18.53, allocations: 96.47 kB / 6.793 GB, free: 31.44 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/18.55, allocations: 4.638 MB / 6.797 GB, free: 30.29 MB / 0.8542 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.05059/18.6, allocations: 24.46 MB / 6.821 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007483/18.61, allocations: 3.265 MB / 6.824 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/18.61, allocations: 2.043 MB / 6.826 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/18.63, allocations: 7.919 MB / 6.834 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/18.63, allocations: 56.5 kB / 6.834 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004472/18.63, allocations: 389.8 kB / 6.834 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=190): time 1.066e-05/18.63, allocations: 0 / 6.834 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of matching and sorting (n=190): time 0.02596/18.66, allocations: 8.583 MB / 6.843 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002915/18.66, allocations: 417.6 kB / 6.843 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02203/18.68, allocations: 7.861 MB / 6.851 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/18.68, allocations: 81.7 kB / 6.851 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005922/18.69, allocations: 3.589 MB / 6.854 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/18.69, allocations: 0.6316 MB / 6.855 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006906/18.69, allocations: 52 kB / 6.855 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003451/18.69, allocations: 420.1 kB / 6.855 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7847/19.48, allocations: 2.333 MB / 6.858 GB, free: 58.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007815/19.48, allocations: 3.558 MB / 6.861 GB, free: 56.74 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/19.5, allocations: 6.213 MB / 6.867 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.447e-05/19.5, allocations: 8.562 kB / 6.867 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01721/19.51, allocations: 7.435 MB / 6.875 GB, free: 53.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001051/19.51, allocations: 1.608 MB / 6.876 GB, free: 52.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.364e-05/19.51, allocations: 23.47 kB / 6.876 GB, free: 52.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/19.52, allocations: 0.6264 MB / 6.877 GB, free: 52.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/19.52, allocations: 0.5969 MB / 6.877 GB, free: 52.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/19.52, allocations: 2.796 MB / 6.88 GB, free: 49.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007838/19.53, allocations: 0.5044 MB / 6.881 GB, free: 49.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/19.53, allocations: 198.8 kB / 6.881 GB, free: 49.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/19.53, allocations: 4.344 kB / 6.881 GB, free: 49.96 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01417/19.54, allocations: 7.539 MB / 6.888 GB, free: 49.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/19.54, allocations: 25.78 kB / 6.888 GB, free: 49.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/19.55, allocations: 0.6266 MB / 6.889 GB, free: 49.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/19.55, allocations: 0.5876 MB / 6.889 GB, free: 49.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/19.55, allocations: 2.798 MB / 6.892 GB, free: 47.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007787/19.56, allocations: 0.4961 MB / 6.893 GB, free: 47.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/19.56, allocations: 199.5 kB / 6.893 GB, free: 47.03 MB / 0.8698 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.006844/19.57, allocations: 2.192 MB / 6.895 GB, free: 46.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002833/19.57, allocations: 0.7068 MB / 6.896 GB, free: 46.46 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/19.59, allocations: 6.285 MB / 6.902 GB, free: 45.88 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/19.59, allocations: 24.2 kB / 6.902 GB, free: 45.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/19.59, allocations: 3.406 kB / 6.902 GB, free: 45.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.227e-05/19.59, allocations: 11.83 kB / 6.902 GB, free: 45.88 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 postOpt removeSimpleEquations (simulation): time 0.03362/19.62, allocations: 12.06 MB / 6.914 GB, free: 44.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/19.62, allocations: 7.875 kB / 6.914 GB, free: 44.83 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/19.62, allocations: 399.5 kB / 6.914 GB, free: 44.83 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/19.63, allocations: 0.6006 MB / 6.914 GB, free: 44.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005784/19.63, allocations: 73.53 kB / 6.915 GB, free: 44.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/19.63, allocations: 2.794 MB / 6.917 GB, free: 42.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/19.63, allocations: 8.875 kB / 6.917 GB, free: 42.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/19.65, allocations: 6.128 MB / 6.923 GB, free: 41.67 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005207/19.65, allocations: 1.378 MB / 6.925 GB, free: 41.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002778/19.65, allocations: 57.88 kB / 6.925 GB, free: 41.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006164/19.66, allocations: 441.7 kB / 6.925 GB, free: 41.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009413/19.66, allocations: 287 kB / 6.925 GB, free: 41.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006745/19.66, allocations: 110.2 kB / 6.925 GB, free: 41.17 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01407/19.68, allocations: 5.352 MB / 6.931 GB, free: 40.92 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.613e-06/19.68, allocations: 3.031 kB / 6.931 GB, free: 40.92 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01875/19.69, allocations: 3.504 MB / 6.934 GB, free: 40.77 MB / 0.8698 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.01117/19.71, allocations: 7.028 MB / 6.941 GB, free: 37.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01846/19.72, allocations: 11.79 MB / 6.953 GB, free: 34.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/19.72, allocations: 2.906 kB / 6.953 GB, free: 34.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006035/19.73, allocations: 3.766 MB / 6.956 GB, free: 33.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02851/19.76, allocations: 3.511 MB / 6.96 GB, free: 33.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/19.79, allocations: 14.94 MB / 6.974 GB, free: 27.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007877/19.8, allocations: 3.836 MB / 6.978 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01084/19.81, allocations: 1.458 MB / 6.979 GB, free: 26.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/19.81, allocations: 462.9 kB / 6.98 GB, free: 26.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.412e-06/19.81, allocations: 0 / 6.98 GB, free: 26.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.3046/20.12, allocations: 191.4 MB / 7.167 GB, free: 12.46 MB / 0.9167 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)