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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 222 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.694/1.694, allocations: 251.6 MB / 0.5088 GB, free: 3.328 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.001981, allocations: 63.91 kB / 0.6216 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7233/0.7253, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.003536/0.7289, allocations: 1.63 MB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005669/0.7295, allocations: 216.2 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.7296, allocations: 0 / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.7298, allocations: 11.92 kB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.7299, allocations: 15.86 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.7301, allocations: 55.94 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.7304, allocations: 119.7 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.7306, allocations: 48.7 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.7307, allocations: 51.77 kB / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.7309, allocations: 79.66 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.7309, allocations: 8 kB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.731, allocations: 8 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.731, allocations: 27.91 kB / 0.726 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.7311, allocations: 55.7 kB / 0.7261 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.7313, allocations: 133.5 kB / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7313, allocations: 0 / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.91e-07/0.7313, allocations: 0 / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.7313, allocations: 0 / 0.7262 GB, free: 10.72 MB / 0.545 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.001023/0.7323, allocations: 439 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.7324, allocations: 8.031 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.7325, allocations: 20.75 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.7328, allocations: 208.6 kB / 0.7268 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.7328, allocations: 8.375 kB / 0.7269 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.7328, allocations: 8.375 kB / 0.7269 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.7333, allocations: 153.6 kB / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7333, allocations: 0 / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.7333, allocations: 7.984 kB / 0.727 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7333, allocations: 4 kB / 0.727 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.7339, allocations: 159.8 kB / 0.7272 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/0.7346, allocations: 416.4 kB / 0.7276 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000873/0.7355, allocations: 170.4 kB / 0.7277 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.7358, allocations: 88.95 kB / 0.7278 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.7359, allocations: 4 kB / 0.7278 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.7359, allocations: 38.44 kB / 0.7279 GB, free: 8.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7359, allocations: 0 / 0.7279 GB, free: 8.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0009778/0.7369, allocations: 277.3 kB / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.737, allocations: 63.28 kB / 0.7282 GB, free: 8.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.7371, allocations: 147.5 kB / 0.7283 GB, free: 8.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.7371, allocations: 29.7 kB / 0.7283 GB, free: 8.312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.7372, allocations: 108 kB / 0.7285 GB, free: 8.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.7373, allocations: 23.56 kB / 0.7285 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.7373, allocations: 29.7 kB / 0.7285 GB, free: 8.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7374, allocations: 322.8 kB / 0.7288 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.7377, allocations: 75.92 kB / 0.7289 GB, free: 7.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.738, allocations: 75.92 kB / 0.729 GB, free: 7.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.7385, allocations: 156.7 kB / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7385, allocations: 0 / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005835/0.7391, allocations: 205.9 kB / 0.7293 GB, free: 7.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7391, allocations: 5.875 kB / 0.7293 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7391, allocations: 4 kB / 0.7293 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7391, allocations: 3.938 kB / 0.7293 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.7394, allocations: 39.98 kB / 0.7294 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.7394, allocations: 3.938 kB / 0.7294 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.7396, allocations: 31.88 kB / 0.7294 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.7397, allocations: 3.984 kB / 0.7294 GB, free: 7.219 MB / 0.545 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.y,add1.u[3],add1.u[2],add1.u[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.7398, allocations: 121.8 kB / 0.7295 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.7398, allocations: 7.906 kB / 0.7295 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.7399, allocations: 24.64 kB / 0.7295 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7399, allocations: 0 / 0.7295 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7399, allocations: 4 kB / 0.7295 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7399, allocations: 4 kB / 0.7295 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.7402, allocations: 233.5 kB / 0.7298 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7402, allocations: 0 / 0.7298 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.7404, allocations: 39.89 kB / 0.7298 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7404, allocations: 3.938 kB / 0.7298 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.7404, allocations: 15.92 kB / 0.7298 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7405, allocations: 0 / 0.7298 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7405, allocations: 0 / 0.7298 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.7411, allocations: 303.1 kB / 0.7301 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.7412, allocations: 81.02 kB / 0.7302 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.7412, allocations: 11.94 kB / 0.7302 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.7414, allocations: 19.97 kB / 0.7302 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.7415, allocations: 35.95 kB / 0.7303 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7415, allocations: 4 kB / 0.7303 GB, free: 6.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.7416, allocations: 108.8 kB / 0.7304 GB, free: 6.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7416, allocations: 0 / 0.7304 GB, free: 6.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002472/0.7419, allocations: 24 kB / 0.7304 GB, free: 6.105 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001727/0.7421, allocations: 103.2 kB / 0.7305 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005862/0.7426, allocations: 171.8 kB / 0.7306 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7427, allocations: 0 / 0.7306 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.743, allocations: 104.1 kB / 0.7307 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.7433, allocations: 16 kB / 0.7308 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.7439, allocations: 279.7 kB / 0.731 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.7441, allocations: 0.7043 MB / 0.7317 GB, free: 4.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.7443, allocations: 24.36 kB / 0.7317 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.7444, allocations: 19.42 kB / 0.7318 GB, free: 4.641 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.7444, allocations: 4 kB / 0.7318 GB, free: 4.637 MB / 0.545 GB Notification: Performance of Templates: time 0.004589/0.749, allocations: 2.061 MB / 0.7338 GB, free: 2.594 MB / 0.545 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)