Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 195.4 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 107.7 kB / 0.9329 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 57.56 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3314, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00216/0.3336, allocations: 0.902 MB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3346, allocations: 0.8943 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.3347, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.3349, allocations: 11.86 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.335, allocations: 11.88 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3352, allocations: 55.94 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3353, allocations: 119.7 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3355, allocations: 45.09 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.3356, allocations: 51.83 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.3357, allocations: 71.72 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3358, allocations: 8 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.3358, allocations: 8 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.3359, allocations: 27.91 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.3359, allocations: 55.64 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.3361, allocations: 131.6 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3361, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3361, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3361, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 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.0008089/0.3369, allocations: 445.1 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.337, allocations: 11.98 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.337, allocations: 20.69 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3372, allocations: 213.3 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3372, allocations: 8.375 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3372, allocations: 11.94 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3376, allocations: 150.9 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3377, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3377, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3377, allocations: 4 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.3382, allocations: 159.8 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.3388, allocations: 416.5 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.3395, allocations: 166.5 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.3399, allocations: 92.91 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3399, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.3399, allocations: 38.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.3399, allocations: 3.938 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0008727/0.3408, allocations: 285.2 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.3408, allocations: 51.41 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.3409, allocations: 152 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.341, allocations: 25.7 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.341, allocations: 108 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.341, allocations: 31.64 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.3411, allocations: 25.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.3412, allocations: 322.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.3414, allocations: 75.92 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3417, allocations: 79.92 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.3421, allocations: 152.7 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3421, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005432/0.3427, allocations: 205.9 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3427, allocations: 7.938 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3427, allocations: 3.938 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3428, allocations: 3.938 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.343, allocations: 39.95 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.343, allocations: 4.094 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.3432, allocations: 23.91 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3432, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 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 8.868e-05/0.3433, allocations: 130.5 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.3433, allocations: 11.84 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.3434, allocations: 20.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3434, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3434, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3434, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3436, allocations: 241.5 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3436, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.3438, allocations: 43.89 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3438, allocations: 3.938 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3439, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3439, allocations: 7.984 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3439, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.3448, allocations: 0.9423 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.3449, allocations: 92.95 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3449, allocations: 4 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3451, allocations: 15.97 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3452, allocations: 39.89 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3452, allocations: 4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.3453, allocations: 114.4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.3453, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003271/0.3456, allocations: 27.91 kB / 1.225 GB, free: 109.4 MB / 0.823 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.0001429/0.3458, allocations: 107.2 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005688/0.3464, allocations: 167.8 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3464, allocations: 288 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.3467, allocations: 107.8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.347, allocations: 12 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.3475, allocations: 414.7 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3477, allocations: 0.7056 MB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.3478, allocations: 24.42 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.3479, allocations: 19.42 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of SimCode: time 6.91e-07/0.3479, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of Templates: time 0.004057/0.352, allocations: 2.14 MB / 1.229 GB, free: 105.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)