Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001122/0.001122, allocations: 187.6 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.001007/0.001008, allocations: 85.39 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3143, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.468/6.783, allocations: 2.377 GB / 3.365 GB, free: 204.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/6.783, allocations: 104.5 kB / 3.365 GB, free: 204.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.28/26.06, allocations: 4.496 GB / 7.861 GB, free: 66.82 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.264e-06/26.06, allocations: 2.156 kB / 7.861 GB, free: 66.82 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002205/26.06, allocations: 194.7 kB / 7.861 GB, free: 66.79 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.04242/26.11, allocations: 10.2 MB / 7.871 GB, free: 61.58 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/26.11, allocations: 16.2 kB / 7.871 GB, free: 61.58 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003797/26.11, allocations: 0.581 MB / 7.872 GB, free: 61.52 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/26.12, allocations: 1.498 MB / 7.873 GB, free: 61.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03536/26.16, allocations: 9.836 MB / 7.883 GB, free: 59.64 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007681/26.16, allocations: 365.4 kB / 7.883 GB, free: 59.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002985/26.16, allocations: 479.8 kB / 7.884 GB, free: 59.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/26.18, allocations: 5.716 MB / 7.889 GB, free: 59.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000346/26.18, allocations: 10.47 kB / 7.889 GB, free: 59.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002197/26.18, allocations: 187 kB / 7.889 GB, free: 59.01 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/26.19, allocations: 166.9 kB / 7.89 GB, free: 59 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/26.2, allocations: 4.593 MB / 7.894 GB, free: 57.9 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.06575/26.27, allocations: 25.16 MB / 7.919 GB, free: 41.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007433/26.27, allocations: 2.996 MB / 7.922 GB, free: 40.26 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02514/26.3, allocations: 8.299 MB / 7.93 GB, free: 34.31 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/26.3, allocations: 59.53 kB / 7.93 GB, free: 34.25 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005804/26.3, allocations: 426.3 kB / 7.93 GB, free: 34.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=214): time 1.413e-05/26.3, allocations: 0 / 7.93 GB, free: 34.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=214): time 0.01642/26.32, allocations: 7.093 MB / 7.937 GB, free: 30.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/26.32, allocations: 416.4 kB / 7.938 GB, free: 29.75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02666/26.35, allocations: 7.34 MB / 7.945 GB, free: 25.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001476/26.35, allocations: 93.08 kB / 7.945 GB, free: 25.84 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00754/26.36, allocations: 3.75 MB / 7.948 GB, free: 22.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002358/26.36, allocations: 0.7137 MB / 7.949 GB, free: 21.78 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/26.36, allocations: 65.72 kB / 7.949 GB, free: 21.71 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006062/26.36, allocations: 439.7 kB / 7.95 GB, free: 21.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005708/26.37, allocations: 2.188 MB / 7.952 GB, free: 19.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007114/26.37, allocations: 3.506 MB / 7.955 GB, free: 15.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005846/26.38, allocations: 3.17 MB / 7.958 GB, free: 12.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.534e-05/26.38, allocations: 11.95 kB / 7.958 GB, free: 12.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01774/26.4, allocations: 6.943 MB / 7.965 GB, free: 5.375 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.008063/26.41, allocations: 15.82 MB / 7.981 GB, free: 4.715 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/26.41, allocations: 28 kB / 7.981 GB, free: 4.688 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/26.41, allocations: 44 kB / 7.981 GB, free: 4.645 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/26.41, allocations: 0.6708 MB / 7.981 GB, free: 3.973 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.721e-05/26.41, allocations: 63.78 kB / 7.981 GB, free: 3.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008834/26.42, allocations: 447.6 kB / 7.982 GB, free: 3.473 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/26.42, allocations: 215.9 kB / 7.982 GB, free: 3.262 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/26.42, allocations: 4 kB / 7.982 GB, free: 3.258 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.202/27.62, allocations: 7.028 MB / 7.989 GB, free: 92.26 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/27.62, allocations: 27.34 kB / 7.989 GB, free: 92.26 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.211e-05/27.62, allocations: 47.97 kB / 7.989 GB, free: 92.26 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/27.63, allocations: 0.6591 MB / 7.99 GB, free: 92.26 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.012e-05/27.63, allocations: 63.5 kB / 7.99 GB, free: 92.26 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009167/27.64, allocations: 437.9 kB / 7.99 GB, free: 92.26 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/27.64, allocations: 207.6 kB / 7.99 GB, free: 92.26 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (367): * Single equations (assignments): 339 * 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.009093/27.65, allocations: 2.295 MB / 7.992 GB, free: 91.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00363/27.65, allocations: 0.7335 MB / 7.993 GB, free: 91.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/27.67, allocations: 5.217 MB / 7.998 GB, free: 91.17 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.257e-05/27.67, allocations: 27.8 kB / 7.998 GB, free: 91.17 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/27.67, allocations: 2.062 kB / 7.998 GB, free: 91.17 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008223/27.67, allocations: 4.25 MB / 8.002 GB, free: 90.5 MB / 1.167 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.04177/27.72, allocations: 11.61 MB / 8.014 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/27.72, allocations: 4.781 kB / 8.014 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/27.72, allocations: 427.1 kB / 8.014 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.709e-05/27.72, allocations: 14.09 kB / 8.014 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006331/27.72, allocations: 82.12 kB / 8.014 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.944e-05/27.72, allocations: 14.84 kB / 8.014 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/27.72, allocations: 9.109 kB / 8.014 GB, free: 89.46 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/27.74, allocations: 8.93 MB / 8.023 GB, free: 87.39 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009447/27.75, allocations: 1.44 MB / 8.024 GB, free: 86.89 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005271/27.75, allocations: 71.53 kB / 8.024 GB, free: 86.89 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008879/27.76, allocations: 349.1 kB / 8.025 GB, free: 86.88 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/27.76, allocations: 294.4 kB / 8.025 GB, free: 86.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001101/27.76, allocations: 121 kB / 8.025 GB, free: 86.88 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02287/27.79, allocations: 5.642 MB / 8.031 GB, free: 86.62 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.31e-07/27.79, allocations: 0 / 8.031 GB, free: 86.62 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0295/27.82, allocations: 3.903 MB / 8.035 GB, free: 86.47 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 202 * 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.03931/27.86, allocations: 17.33 MB / 8.051 GB, free: 79.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02732/27.88, allocations: 11.43 MB / 8.063 GB, free: 76.85 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.04e-05/27.88, allocations: 3.531 kB / 8.063 GB, free: 76.85 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008458/27.89, allocations: 3.747 MB / 8.066 GB, free: 76.09 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0267/27.92, allocations: 3.821 MB / 8.07 GB, free: 76.01 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07813/28, allocations: 38.74 MB / 8.108 GB, free: 48.09 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008845/28.01, allocations: 4.141 MB / 8.112 GB, free: 47.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01234/28.02, allocations: 1.609 MB / 8.113 GB, free: 47.18 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009415/28.03, allocations: 3.457 MB / 8.117 GB, free: 47.18 MB / 1.167 GB Notification: Performance of SimCode: time 2.022e-05/28.03, allocations: 0 / 8.117 GB, free: 47.18 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4672/28.5, allocations: 265.7 MB / 8.376 GB, free: 13.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/28.5, allocations: 243.1 kB / 8.376 GB, free: 12.77 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/44.28, allocations: 0 / 8.376 GB, free: 12.77 MB / 1.198 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)