Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01156/0.01156, allocations: 107.5 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001342/0.001342, allocations: 180.2 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.113/2.113, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.495/2.495, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005274, allocations: 15.98 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7184, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics): time 1.472/2.191, allocations: 347.3 MB / 1.023 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1301/2.321, allocations: 55.25 MB / 1.077 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01616/2.337, allocations: 248.8 kB / 1.077 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.02037/2.357, allocations: 3.823 MB / 1.081 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.05055/2.408, allocations: 9.5 MB / 1.09 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.03614/2.444, allocations: 7.154 MB / 1.097 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.03409/2.478, allocations: 11.4 MB / 1.108 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01742/2.496, allocations: 5.159 MB / 1.113 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02207/2.518, allocations: 5.932 MB / 1.119 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/2.528, allocations: 3.554 MB / 1.122 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.003243/2.532, allocations: 280 kB / 1.123 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/2.548, allocations: 2.996 MB / 1.125 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.005103/2.554, allocations: 1.919 MB / 1.127 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005794/2.559, allocations: 1.868 MB / 1.129 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.02605/2.585, allocations: 11.89 MB / 1.141 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/2.586, allocations: 3.938 kB / 1.141 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.056e-06/2.586, allocations: 0 / 1.141 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0005524/2.586, allocations: 0 / 1.141 GB, free: 2.902 MB / 0.7917 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.03003/2.616, allocations: 8.792 MB / 1.149 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/2.616, allocations: 8.031 kB / 1.149 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00249/2.619, allocations: 0.5729 MB / 1.15 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/2.63, allocations: 1.562 MB / 1.151 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02878/2.659, allocations: 8.732 MB / 1.16 GB, free: 14.87 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003004/2.662, allocations: 0.6145 MB / 1.161 GB, free: 14.25 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/2.664, allocations: 483.9 kB / 1.161 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/2.688, allocations: 5.854 MB / 1.167 GB, free: 7.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/2.688, allocations: 7.938 kB / 1.167 GB, free: 7.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001555/2.69, allocations: 180 kB / 1.167 GB, free: 7.566 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/2.69, allocations: 168.3 kB / 1.167 GB, free: 7.398 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/2.712, allocations: 4.995 MB / 1.172 GB, free: 2.387 MB / 0.823 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.06663/2.779, allocations: 25.48 MB / 1.197 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/2.792, allocations: 3.456 MB / 1.2 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02261/2.815, allocations: 7.429 MB / 1.207 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.547e-05/2.815, allocations: 56.56 kB / 1.208 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00448/2.819, allocations: 408.4 kB / 1.208 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=206): time 1.154e-05/2.819, allocations: 3.938 kB / 1.208 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=206): time 0.02627/2.846, allocations: 7.505 MB / 1.215 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003214/2.846, allocations: 409.8 kB / 1.216 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02295/2.869, allocations: 7.51 MB / 1.223 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009779/2.87, allocations: 85.7 kB / 1.223 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.006634/2.877, allocations: 3.784 MB / 1.227 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/2.878, allocations: 0.6894 MB / 1.227 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00063/2.879, allocations: 64 kB / 1.227 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004143/2.88, allocations: 441 kB / 1.228 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008344/2.888, allocations: 2.286 MB / 1.23 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/2.898, allocations: 3.551 MB / 1.234 GB, free: 280 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00958/2.908, allocations: 3.228 MB / 1.237 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.706e-05/2.908, allocations: 11.94 kB / 1.237 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.02466/2.933, allocations: 7.138 MB / 1.244 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00721/2.94, allocations: 16.04 MB / 1.259 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/2.94, allocations: 28 kB / 1.259 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/2.94, allocations: 51.98 kB / 1.259 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006458/2.947, allocations: 0.7528 MB / 1.26 GB, free: 3.355 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/2.947, allocations: 67.77 kB / 1.26 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/2.957, allocations: 0.499 MB / 1.261 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/2.958, allocations: 207.9 kB / 1.261 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/2.958, allocations: 7.938 kB / 1.261 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6235/3.582, allocations: 7.217 MB / 1.268 GB, free: 375.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/3.582, allocations: 30.3 kB / 1.268 GB, free: 375.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/3.582, allocations: 47.03 kB / 1.268 GB, free: 375.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00813/3.591, allocations: 0.7521 MB / 1.269 GB, free: 375.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002411/3.591, allocations: 61.5 kB / 1.269 GB, free: 375.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/3.602, allocations: 0.4963 MB / 1.269 GB, free: 375.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/3.604, allocations: 201.8 kB / 1.27 GB, free: 375.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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 (368): * Single equations (assignments): 340 * 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.007718/3.612, allocations: 2.278 MB / 1.272 GB, free: 373.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/3.615, allocations: 0.7316 MB / 1.272 GB, free: 373.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02179/3.636, allocations: 5.63 MB / 1.278 GB, free: 371.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/3.637, allocations: 27.91 kB / 1.278 GB, free: 371.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/3.637, allocations: 0.7969 kB / 1.278 GB, free: 371.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01695/3.654, allocations: 4.508 MB / 1.282 GB, free: 369.6 MB / 0.9167 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.03909/3.693, allocations: 11.42 MB / 1.294 GB, free: 364.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/3.693, allocations: 9.438 kB / 1.294 GB, free: 364.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004604/3.697, allocations: 0.4884 MB / 1.294 GB, free: 364.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-05/3.698, allocations: 13.59 kB / 1.294 GB, free: 364.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000749/3.698, allocations: 74.83 kB / 1.294 GB, free: 364.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.231e-05/3.698, allocations: 20.03 kB / 1.294 GB, free: 364.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/3.698, allocations: 14.06 kB / 1.294 GB, free: 364.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02584/3.724, allocations: 9.197 MB / 1.303 GB, free: 359.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005248/3.73, allocations: 1.324 MB / 1.304 GB, free: 358.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002755/3.732, allocations: 59.39 kB / 1.304 GB, free: 358.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008394/3.741, allocations: 416 kB / 1.305 GB, free: 358.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/3.742, allocations: 292.1 kB / 1.305 GB, free: 358.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006806/3.743, allocations: 115.9 kB / 1.305 GB, free: 358.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01501/3.758, allocations: 5.128 MB / 1.31 GB, free: 356.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.012e-06/3.758, allocations: 0 / 1.31 GB, free: 356.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01788/3.776, allocations: 3.298 MB / 1.314 GB, free: 356.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 192 * 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.03045/3.806, allocations: 11.52 MB / 1.325 GB, free: 349.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02932/3.836, allocations: 11.78 MB / 1.336 GB, free: 339.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/3.836, allocations: 0 / 1.336 GB, free: 339.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009773/3.845, allocations: 3.776 MB / 1.34 GB, free: 335.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02982/3.875, allocations: 3.78 MB / 1.344 GB, free: 332 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05499/3.93, allocations: 38.99 MB / 1.382 GB, free: 291.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008244/3.939, allocations: 4.139 MB / 1.386 GB, free: 287.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01383/3.953, allocations: 1.61 MB / 1.387 GB, free: 286.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008013/3.961, allocations: 3.428 MB / 1.391 GB, free: 282.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.704e-06/3.961, allocations: 0 / 1.391 GB, free: 282.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5152/4.476, allocations: 216.2 MB / 1.602 GB, free: 68.38 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/4.476, allocations: 263.9 kB / 1.602 GB, free: 68.03 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/18.9, allocations: 4 kB / 1.602 GB, free: 68.03 MB / 0.9167 GB