Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 252 MB / 267.6 MB, free: 10.97 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.0009742/0.0009743, allocations: 185.4 kB / 327.3 MB, free: 2.227 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.746/1.746, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0006823/0.0006823, allocations: 88.08 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 12.94 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001486/0.1951, allocations: 1.245 MB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003948/0.1955, allocations: 212.3 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.1956, allocations: 0 / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.93e-05/0.1957, allocations: 15.86 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.1958, allocations: 7.938 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.1959, allocations: 47.94 kB / 0.9023 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.196, allocations: 119.6 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1962, allocations: 40.91 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.1962, allocations: 43.83 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1963, allocations: 67.73 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1964, allocations: 4 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.1964, allocations: 4 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.1964, allocations: 27.89 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.1965, allocations: 41.64 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.1966, allocations: 91.77 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1966, allocations: 7.938 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1966, allocations: 4 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1966, allocations: 0 / 0.9028 GB, free: 61.91 MB / 0.6042 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.0006806/0.1973, allocations: 439.1 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1973, allocations: 12.03 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1974, allocations: 15.77 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1975, allocations: 199.4 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1975, allocations: 8 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1976, allocations: 8 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.198, allocations: 171.9 kB / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.198, allocations: 0 / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.198, allocations: 0 / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.198, allocations: 4 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.1986, allocations: 191.8 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.1991, allocations: 412.4 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/0.2, allocations: 194.5 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.2002, allocations: 100.9 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.2003, allocations: 4 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.2003, allocations: 38.56 kB / 0.9045 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.2003, allocations: 0 / 0.9045 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0009152/0.2012, allocations: 325.4 kB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2013, allocations: 51.41 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.2014, allocations: 155.2 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2014, allocations: 29.7 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.2014, allocations: 108 kB / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.2015, allocations: 35.62 kB / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.2015, allocations: 0 / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.2015, allocations: 326.8 kB / 0.9055 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.2018, allocations: 91.86 kB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.2021, allocations: 92.23 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.2023, allocations: 95.88 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2023, allocations: 0 / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005789/0.2029, allocations: 233.4 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2029, allocations: 8 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2029, allocations: 0 / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.203, allocations: 0 / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.2032, allocations: 51.95 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2032, allocations: 3.953 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.2034, allocations: 27.88 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2034, allocations: 4 kB / 0.906 GB, free: 58.33 MB / 0.6042 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 8.86e-05/0.2035, allocations: 129.8 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.2036, allocations: 11.89 kB / 0.9062 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.2036, allocations: 20.66 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2036, allocations: 0 / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.2036, allocations: 0 / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2036, allocations: 3.953 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2038, allocations: 237.4 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2038, allocations: 0 / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.2041, allocations: 51.95 kB / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2041, allocations: 0 / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2041, allocations: 0 / 0.9065 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2041, allocations: 4 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2041, allocations: 3.984 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.2047, allocations: 339.4 kB / 0.9068 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.2048, allocations: 85 kB / 0.9069 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.2048, allocations: 4 kB / 0.9069 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.205, allocations: 23.97 kB / 0.9069 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.2051, allocations: 31.95 kB / 0.9069 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.2051, allocations: 8 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.2052, allocations: 115.8 kB / 0.9071 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2052, allocations: 0 / 0.9071 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000212/0.2054, allocations: 20 kB / 0.9071 GB, free: 57.17 MB / 0.6042 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.0001178/0.2055, allocations: 107.1 kB / 0.9072 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.2061, allocations: 195.8 kB / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2061, allocations: 0 / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.2064, allocations: 119.8 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2067, allocations: 13.48 kB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.2072, allocations: 298.8 kB / 0.9078 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2073, allocations: 0.7043 MB / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.2074, allocations: 23.41 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2074, allocations: 0 / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002672/0.2101, allocations: 1.813 MB / 0.9103 GB, free: 53.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)