Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 175.5 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.5775 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008292/0.0008291, allocations: 86.36 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003105, allocations: 14.34 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.223, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.503/5.726, allocations: 2.492 GB / 3.392 GB, free: 60.54 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/5.727, allocations: 105.5 kB / 3.392 GB, free: 60.43 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 14.19/19.91, allocations: 3.613 GB / 7.005 GB, free: 57.86 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.394e-06/19.91, allocations: 0 / 7.005 GB, free: 57.86 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001702/19.92, allocations: 186.8 kB / 7.005 GB, free: 57.83 MB / 1.042 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.03371/19.95, allocations: 9.767 MB / 7.015 GB, free: 52.7 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/19.95, allocations: 9.438 kB / 7.015 GB, free: 52.7 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002932/19.95, allocations: 0.5307 MB / 7.015 GB, free: 52.64 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/19.96, allocations: 1.862 MB / 7.017 GB, free: 52.11 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02978/19.99, allocations: 9.268 MB / 7.026 GB, free: 50.57 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001522/19.99, allocations: 0.5899 MB / 7.027 GB, free: 50.54 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/20, allocations: 441 kB / 7.027 GB, free: 50.54 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/20.01, allocations: 5.543 MB / 7.032 GB, free: 49.95 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-05/20.01, allocations: 7.875 kB / 7.032 GB, free: 49.94 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004995/20.01, allocations: 171.7 kB / 7.033 GB, free: 49.94 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.698e-05/20.01, allocations: 97.06 kB / 7.033 GB, free: 49.94 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009993/20.02, allocations: 4.642 MB / 7.037 GB, free: 48.7 MB / 1.042 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.04897/20.07, allocations: 24.58 MB / 7.061 GB, free: 32.33 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007381/20.08, allocations: 3.264 MB / 7.064 GB, free: 31.15 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02043/20.1, allocations: 7.981 MB / 7.072 GB, free: 25.27 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/20.1, allocations: 59.22 kB / 7.072 GB, free: 25.21 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004837/20.1, allocations: 403.1 kB / 7.073 GB, free: 25.01 MB / 1.042 GB Notification: Performance of pre-optimization done (n=190): time 1.236e-05/20.1, allocations: 0 / 7.073 GB, free: 25.01 MB / 1.042 GB Notification: Performance of matching and sorting (n=190): time 0.02496/20.13, allocations: 9.538 MB / 7.082 GB, free: 18.06 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/20.13, allocations: 413.8 kB / 7.082 GB, free: 17.57 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01969/20.15, allocations: 7.124 MB / 7.089 GB, free: 10.59 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/20.15, allocations: 85.7 kB / 7.089 GB, free: 10.5 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005082/20.15, allocations: 3.592 MB / 7.093 GB, free: 6.891 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/20.16, allocations: 0.6276 MB / 7.093 GB, free: 6.254 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008038/20.16, allocations: 59.56 kB / 7.094 GB, free: 6.199 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003337/20.16, allocations: 424.1 kB / 7.094 GB, free: 5.777 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/20.16, allocations: 2.328 MB / 7.096 GB, free: 3.445 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005797/20.17, allocations: 3.553 MB / 7.1 GB, free: 15.37 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006268/20.17, allocations: 3.22 MB / 7.103 GB, free: 12 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/20.17, allocations: 8 kB / 7.103 GB, free: 11.99 MB / 1.057 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01935/20.19, allocations: 7.409 MB / 7.11 GB, free: 4.406 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.007598/20.2, allocations: 14.44 MB / 7.124 GB, free: 5.141 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-05/20.2, allocations: 27.98 kB / 7.124 GB, free: 5.113 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/20.2, allocations: 0.6228 MB / 7.125 GB, free: 4.512 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/20.21, allocations: 0.5967 MB / 7.125 GB, free: 3.914 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/20.21, allocations: 2.802 MB / 7.128 GB, free: 1.012 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008688/20.22, allocations: 0.5114 MB / 7.129 GB, free: 0.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/20.22, allocations: 199.9 kB / 7.129 GB, free: 312 kB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/20.22, allocations: 4 kB / 7.129 GB, free: 308 kB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9713/21.19, allocations: 7.504 MB / 7.136 GB, free: 92.79 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/21.19, allocations: 25.06 kB / 7.136 GB, free: 92.79 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/21.19, allocations: 0.6334 MB / 7.137 GB, free: 92.76 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004653/21.2, allocations: 0.5866 MB / 7.137 GB, free: 92.76 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/21.2, allocations: 2.801 MB / 7.14 GB, free: 90.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/21.22, allocations: 0.4916 MB / 7.141 GB, free: 90.7 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/21.22, allocations: 192.2 kB / 7.141 GB, free: 90.7 MB / 1.073 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.009155/21.23, allocations: 2.194 MB / 7.143 GB, free: 90.13 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003111/21.23, allocations: 0.7071 MB / 7.144 GB, free: 90.13 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02553/21.25, allocations: 6.274 MB / 7.15 GB, free: 89.56 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/21.25, allocations: 31.44 kB / 7.15 GB, free: 89.56 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/21.25, allocations: 5.406 kB / 7.15 GB, free: 89.56 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.295e-05/21.25, allocations: 9.188 kB / 7.15 GB, free: 89.56 MB / 1.073 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.04242/21.3, allocations: 12.09 MB / 7.162 GB, free: 88.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/21.3, allocations: 6.906 kB / 7.162 GB, free: 88.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/21.3, allocations: 393.9 kB / 7.162 GB, free: 88.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/21.3, allocations: 0.6027 MB / 7.163 GB, free: 88.47 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000681/21.3, allocations: 79.27 kB / 7.163 GB, free: 88.47 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004038/21.31, allocations: 2.787 MB / 7.165 GB, free: 86.4 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.148e-06/21.31, allocations: 7.625 kB / 7.165 GB, free: 86.4 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02261/21.33, allocations: 6.996 MB / 7.172 GB, free: 84.54 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007715/21.34, allocations: 1.408 MB / 7.174 GB, free: 84.05 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003912/21.34, allocations: 52.97 kB / 7.174 GB, free: 84.05 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009886/21.35, allocations: 447.8 kB / 7.174 GB, free: 84.05 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/21.35, allocations: 282.8 kB / 7.174 GB, free: 84.04 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005296/21.35, allocations: 110.2 kB / 7.174 GB, free: 84.04 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01955/21.37, allocations: 5.486 MB / 7.18 GB, free: 83.79 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.61e-07/21.37, allocations: 2.625 kB / 7.18 GB, free: 83.79 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02604/21.4, allocations: 3.54 MB / 7.183 GB, free: 83.65 MB / 1.073 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.0271/21.43, allocations: 15.18 MB / 7.198 GB, free: 77.41 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01956/21.45, allocations: 11.79 MB / 7.21 GB, free: 74.36 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-05/21.45, allocations: 0 / 7.21 GB, free: 74.36 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.006874/21.45, allocations: 3.766 MB / 7.213 GB, free: 73.61 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01834/21.47, allocations: 3.526 MB / 7.217 GB, free: 73.54 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04572/21.52, allocations: 36.03 MB / 7.252 GB, free: 48.03 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005019/21.52, allocations: 3.979 MB / 7.256 GB, free: 47.2 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.009384/21.53, allocations: 1.464 MB / 7.257 GB, free: 47.05 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007296/21.54, allocations: 3.235 MB / 7.26 GB, free: 47.04 MB / 1.073 GB Notification: Performance of SimCode: time 1.493e-06/21.54, allocations: 0 / 7.26 GB, free: 47.04 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4369/21.98, allocations: 268.2 MB / 7.522 GB, free: 7.625 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/21.98, allocations: 283.4 kB / 7.523 GB, free: 7.258 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/36.4, allocations: 0 / 7.523 GB, free: 7.258 MB / 1.135 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)