Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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) 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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.484/2.484, allocations: 284.9 MB / 292.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 180.9 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 106.4 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.521e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8227/0.8227, allocations: 115.3 MB / 0.9634 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.04/7.862, allocations: 2.375 GB / 3.338 GB, free: 105.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/7.863, allocations: 100.3 kB / 3.338 GB, free: 105.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 25.62/33.49, allocations: 4.458 GB / 7.796 GB, free: 86.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.776e-06/33.49, allocations: 2.812 kB / 7.796 GB, free: 86.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002026/33.49, allocations: 196.2 kB / 7.796 GB, free: 86.67 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: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.03386/33.52, allocations: 8.022 MB / 7.804 GB, free: 83 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/33.52, allocations: 9.688 kB / 7.804 GB, free: 83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/33.53, allocations: 1.502 MB / 7.806 GB, free: 82.51 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04078/33.58, allocations: 9.764 MB / 7.815 GB, free: 81.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/33.58, allocations: 147.1 kB / 7.815 GB, free: 81.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00224/33.58, allocations: 290.8 kB / 7.816 GB, free: 81.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01386/33.59, allocations: 4.089 MB / 7.82 GB, free: 81.23 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/33.61, allocations: 4.929 MB / 7.824 GB, free: 80.68 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/33.61, allocations: 9.547 kB / 7.824 GB, free: 80.68 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/33.61, allocations: 11.06 kB / 7.824 GB, free: 80.68 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/33.61, allocations: 167.2 kB / 7.825 GB, free: 80.67 MB / 1.151 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.0604/33.67, allocations: 24.31 MB / 7.848 GB, free: 71.56 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/33.68, allocations: 2.922 MB / 7.851 GB, free: 71.43 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004307/33.68, allocations: 1.808 MB / 7.853 GB, free: 71.42 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02273/33.71, allocations: 8.15 MB / 7.861 GB, free: 67.99 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/33.71, allocations: 65.12 kB / 7.861 GB, free: 67.95 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005709/33.71, allocations: 309.7 kB / 7.861 GB, free: 67.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=213): time 2.192e-05/33.71, allocations: 0 / 7.861 GB, free: 67.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=213): time 0.01607/33.73, allocations: 4.116 MB / 7.865 GB, free: 67.39 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/33.73, allocations: 417.1 kB / 7.866 GB, free: 66.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0227/33.75, allocations: 6.333 MB / 7.872 GB, free: 66.49 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/33.75, allocations: 44.45 kB / 7.872 GB, free: 66.46 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006611/33.76, allocations: 3.72 MB / 7.876 GB, free: 65.47 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/33.76, allocations: 0.6862 MB / 7.876 GB, free: 65.02 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004862/33.76, allocations: 6.906 kB / 7.876 GB, free: 65.02 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003289/33.76, allocations: 436 kB / 7.877 GB, free: 64.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005502/33.77, allocations: 2.074 MB / 7.879 GB, free: 64.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007089/33.77, allocations: 3.386 MB / 7.882 GB, free: 63.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009315/33.78, allocations: 2.583 MB / 7.884 GB, free: 63.14 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.636e-05/33.78, allocations: 8.562 kB / 7.884 GB, free: 63.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02114/33.8, allocations: 6.02 MB / 7.89 GB, free: 62.67 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.003949/33.81, allocations: 16.36 MB / 7.906 GB, free: 45.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/33.81, allocations: 32.66 kB / 7.906 GB, free: 45.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/33.81, allocations: 50.34 kB / 7.906 GB, free: 45.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005616/33.81, allocations: 0.6765 MB / 7.907 GB, free: 45.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.312e-05/33.81, allocations: 61.72 kB / 7.907 GB, free: 45.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/33.82, allocations: 375.6 kB / 7.907 GB, free: 45.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/33.83, allocations: 218.8 kB / 7.908 GB, free: 45.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/33.83, allocations: 5.781 kB / 7.908 GB, free: 45.56 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01843/33.84, allocations: 5.668 MB / 7.913 GB, free: 45.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/33.84, allocations: 29.7 kB / 7.913 GB, free: 45.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.267e-05/33.85, allocations: 47.78 kB / 7.913 GB, free: 45.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/33.85, allocations: 0.6676 MB / 7.914 GB, free: 45.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.33e-05/33.85, allocations: 62.22 kB / 7.914 GB, free: 45.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/33.86, allocations: 373.9 kB / 7.914 GB, free: 45.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/33.86, allocations: 210.2 kB / 7.915 GB, free: 45.45 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (366): * Single equations (assignments): 338 * 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.001835/33.86, allocations: 0.5834 MB / 7.915 GB, free: 44.95 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0138/33.88, allocations: 4.032 MB / 7.919 GB, free: 44.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003181/33.88, allocations: 0.6776 MB / 7.92 GB, free: 44.14 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/33.9, allocations: 4.519 MB / 7.924 GB, free: 43.94 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.307e-05/33.9, allocations: 29.66 kB / 7.924 GB, free: 43.94 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/33.9, allocations: 0 / 7.924 GB, free: 43.94 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01071/33.91, allocations: 3.638 MB / 7.928 GB, free: 43.64 MB / 1.151 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.03607/33.95, allocations: 10.4 MB / 7.938 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/33.95, allocations: 7.375 kB / 7.938 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004076/33.95, allocations: 428 kB / 7.938 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-05/33.95, allocations: 13.41 kB / 7.938 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006575/33.95, allocations: 58.47 kB / 7.938 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-05/33.95, allocations: 15.25 kB / 7.938 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/33.95, allocations: 7.594 kB / 7.938 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/33.97, allocations: 7.974 MB / 7.946 GB, free: 41.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006427/33.98, allocations: 1.376 MB / 7.948 GB, free: 40.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003136/33.98, allocations: 32.56 kB / 7.948 GB, free: 40.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008888/33.99, allocations: 313.8 kB / 7.948 GB, free: 40.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/33.99, allocations: 299.5 kB / 7.948 GB, free: 40.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006787/33.99, allocations: 118 kB / 7.948 GB, free: 40.64 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01542/34.01, allocations: 4.759 MB / 7.953 GB, free: 40.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.072e-06/34.01, allocations: 0.6562 kB / 7.953 GB, free: 40.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.02388/34.03, allocations: 3.797 MB / 7.957 GB, free: 39.84 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (225): * Single equations (assignments): 201 * 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.03555/34.07, allocations: 16.22 MB / 7.972 GB, free: 33.69 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02116/34.09, allocations: 11.1 MB / 7.983 GB, free: 30.61 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/34.09, allocations: 2.594 kB / 7.983 GB, free: 30.61 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007052/34.09, allocations: 3.53 MB / 7.987 GB, free: 29.85 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02677/34.12, allocations: 3.321 MB / 7.99 GB, free: 29.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04666/34.17, allocations: 12.48 MB / 8.002 GB, free: 27.01 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009666/34.18, allocations: 4.156 MB / 8.006 GB, free: 26.16 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02154/34.2, allocations: 2.514 MB / 8.009 GB, free: 26.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008046/34.21, allocations: 3.312 MB / 8.012 GB, free: 26.09 MB / 1.151 GB Notification: Performance of SimCode: time 1.393e-06/34.21, allocations: 0 / 8.012 GB, free: 26.09 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.594/35.8, allocations: 224.8 MB / 8.231 GB, free: 95.62 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/35.8, allocations: 200.8 kB / 8.232 GB, free: 95.34 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/51.88, allocations: 0 / 8.232 GB, free: 95.34 MB / 1.182 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)