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.126/2.126, allocations: 251 MB / 265.9 MB, free: 11.7 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.002964/0.002964, allocations: 181.9 kB / 325.5 MB, free: 2.898 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.525/2.525, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001139/0.001139, allocations: 97.33 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 17.38 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2099, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.4311, allocations: 131.8 MB / 1.027 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4315, allocations: 71.94 kB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.4418, allocations: 2.043 MB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4419, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.4419, allocations: 7.938 kB / 1.03 GB, free: 11.37 MB / 0.6823 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.001111/0.443, allocations: 458.9 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.4431, allocations: 12.03 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.234e-05/0.4432, allocations: 46.48 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.4433, allocations: 11.86 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.4436, allocations: 202.1 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.4436, allocations: 8 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.4437, allocations: 4 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007372/0.4444, allocations: 171.4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4444, allocations: 3.938 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.4445, allocations: 0 / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.4445, allocations: 4 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.4455, allocations: 195.8 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/0.4466, allocations: 412.4 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.4482, allocations: 190.6 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.4482, allocations: 4.031 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4483, allocations: 34.69 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.023e-06/0.4483, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.00177/0.45, allocations: 329.8 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4501, allocations: 60.2 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4503, allocations: 130.1 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.4503, allocations: 33.7 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.4504, allocations: 111.9 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.4505, allocations: 19.72 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.4505, allocations: 0 / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4507, allocations: 326.8 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.4512, allocations: 87.92 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.4518, allocations: 91.92 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.4523, allocations: 91.92 kB / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4523, allocations: 4 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001169/0.4535, allocations: 225.4 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4536, allocations: 8 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.4536, allocations: 3.938 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4536, allocations: 0 / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.4541, allocations: 55.89 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4541, allocations: 3.984 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.4545, allocations: 43.77 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4545, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 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 () * Number of clocked 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.0001569/0.4547, allocations: 125.8 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.4547, allocations: 7.906 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.4548, allocations: 20.7 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4548, allocations: 0 / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4548, allocations: 0 / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4548, allocations: 384 / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.4552, allocations: 237.5 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4553, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.4557, allocations: 51.95 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4557, allocations: 3.938 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4558, allocations: 0 / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.4558, allocations: 4 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4558, allocations: 3.938 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.457, allocations: 339.2 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.4571, allocations: 81.02 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.4572, allocations: 4 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.4575, allocations: 35.91 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.4577, allocations: 31.95 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4577, allocations: 7.922 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001238/0.4579, allocations: 113.9 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4579, allocations: 0 / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003411/0.4582, allocations: 27.92 kB / 1.034 GB, free: 6.668 MB / 0.6823 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 () * Number of clocked 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.001656/0.4599, allocations: 0.8761 MB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.4611, allocations: 199.8 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4611, allocations: 0 / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.4617, allocations: 124.2 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.4621, allocations: 16.11 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.4653, allocations: 0.9087 MB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4657, allocations: 0.7121 MB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.4659, allocations: 24.42 kB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.4661, allocations: 43.34 kB / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/0.4661, allocations: 0 / 1.037 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.4886, allocations: 3.181 MB / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/0.489, allocations: 187 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.83, allocations: 4.906 kB / 1.04 GB, free: 392 kB / 0.6823 GB