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.29/2.29, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001534/0.001533, allocations: 185 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 103.8 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.375e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2207, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8844/1.105, allocations: 131.9 MB / 1.013 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.106, allocations: 78 kB / 1.013 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01042/1.116, allocations: 2.038 MB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/1.116, allocations: 0.75 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.116, allocations: 0 / 1.015 GB, free: 4.961 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.001039/1.117, allocations: 429.7 kB / 1.015 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.117, allocations: 8.031 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/1.117, allocations: 15.81 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/1.118, allocations: 207.4 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/1.118, allocations: 8 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/1.118, allocations: 4 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002957/1.118, allocations: 82.72 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/1.118, allocations: 105.3 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.118, allocations: 3.938 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/1.118, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.118, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.119, allocations: 394.8 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.12, allocations: 122 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/1.121, allocations: 48.33 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/1.121, allocations: 7.75 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.121, allocations: 33.22 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/1.121, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004586/1.121, allocations: 128.5 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/1.121, allocations: 51.41 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/1.121, allocations: 132.8 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/1.121, allocations: 25.7 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/1.122, allocations: 107.6 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/1.122, allocations: 31.44 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/1.122, allocations: 3.938 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.122, allocations: 322.5 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.122, allocations: 35.73 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/1.122, allocations: 39.48 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/1.122, allocations: 38.98 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.122, allocations: 0 / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003626/1.123, allocations: 125 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.123, allocations: 4 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.123, allocations: 3.984 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.123, allocations: 8 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/1.123, allocations: 43.89 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.123, allocations: 3.156 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/1.124, allocations: 31.97 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/1.124, allocations: 4 kB / 1.018 GB, free: 2.48 MB / 0.6355 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.0001186/1.124, allocations: 104.9 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003848/1.124, allocations: 128 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/1.124, allocations: 15.81 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/1.124, allocations: 12.06 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/1.124, allocations: 4 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.124, allocations: 0 / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.124, allocations: 4 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/1.125, allocations: 205.2 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.125, allocations: 4 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/1.125, allocations: 39.95 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.125, allocations: 4 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/1.125, allocations: 3.984 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.125, allocations: 0 / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.125, allocations: 4 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/1.126, allocations: 230.1 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/1.126, allocations: 92.84 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/1.126, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/1.126, allocations: 32.12 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.126, allocations: 27.58 kB / 1.018 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.126, allocations: 7.938 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001142/1.127, allocations: 111.3 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.127, allocations: 0 / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000375/1.127, allocations: 24 kB / 1.019 GB, free: 1.465 MB / 0.6355 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.0008348/1.128, allocations: 0.7659 MB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003253/1.128, allocations: 89.72 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.128, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/1.128, allocations: 63.28 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/1.129, allocations: 7.312 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/1.13, allocations: 207.9 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/1.13, allocations: 0.7072 MB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002093/1.13, allocations: 24.41 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/1.13, allocations: 39.91 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.13, allocations: 7.938 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/1.173, allocations: 2.81 MB / 1.023 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/1.174, allocations: 149.5 kB / 1.023 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/3.47, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.6511 GB