Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.436/2.436, allocations: 248.5 MB / 261 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001441, allocations: 184.8 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001522/0.001521, allocations: 94.36 kB / 0.6754 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.948e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2247, allocations: 106.2 MB / 0.8907 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.119, allocations: 131.7 MB / 1.019 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.12, allocations: 74.27 kB / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01052/1.13, allocations: 2.049 MB / 1.021 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/1.13, allocations: 0 / 1.021 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.13, allocations: 4 kB / 1.021 GB, free: 1.723 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001078/1.131, allocations: 431.3 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.131, allocations: 8.031 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.931e-05/1.131, allocations: 44.73 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/1.132, allocations: 19.77 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/1.132, allocations: 198.3 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/1.132, allocations: 7.625 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/1.132, allocations: 4.188 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/1.132, allocations: 117.5 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.132, allocations: 3.938 kB / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/1.132, allocations: 11.3 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.132, allocations: 0 / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/1.133, allocations: 84.53 kB / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/1.134, allocations: 416.1 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/1.135, allocations: 142.7 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/1.135, allocations: 43.36 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/1.135, allocations: 3.812 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.135, allocations: 34.55 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.955e-06/1.135, allocations: 4 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004962/1.136, allocations: 130.6 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.136, allocations: 55.16 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/1.136, allocations: 130.6 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/1.136, allocations: 29.7 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/1.136, allocations: 108.3 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/1.136, allocations: 38.78 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/1.136, allocations: 3.688 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.136, allocations: 322.3 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/1.136, allocations: 33.19 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.137, allocations: 41.64 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/1.137, allocations: 42.41 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.137, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004006/1.137, allocations: 128.8 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.137, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.137, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.137, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/1.138, allocations: 51.39 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.138, allocations: 7.938 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/1.138, allocations: 27.97 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/1.138, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001182/1.138, allocations: 114.6 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/1.138, allocations: 7.906 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.442e-05/1.138, allocations: 19.19 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.139, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.139, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.139, allocations: 3.953 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/1.139, allocations: 235.9 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.139, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/1.139, allocations: 47.89 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.139, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/1.139, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.139, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.139, allocations: 4 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/1.14, allocations: 239.8 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/1.14, allocations: 88.95 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/1.14, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/1.14, allocations: 35.84 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/1.141, allocations: 31.2 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/1.141, allocations: 7.984 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001224/1.141, allocations: 114.3 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.141, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003525/1.141, allocations: 31.78 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009181/1.142, allocations: 0.772 MB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004017/1.143, allocations: 95.34 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.143, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/1.143, allocations: 64.23 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/1.143, allocations: 11.55 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/1.144, allocations: 212.6 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/1.144, allocations: 0.7043 MB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002168/1.145, allocations: 32.34 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/1.145, allocations: 51.72 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/1.145, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/1.172, allocations: 3.198 MB / 1.03 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003503/1.172, allocations: 169.3 kB / 1.03 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.618, allocations: 0 / 1.03 GB, free: 8.949 MB / 0.6511 GB