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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0-master/package.mo): time 1.628/1.628, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000973/0.000973, allocations: 188.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 0.6626 GB, free: 4.324 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 100.8 kB / 0.7808 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 12 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.5819, allocations: 120.3 MB / 1.026 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.7417, allocations: 141.2 MB / 1.164 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.7419, allocations: 72.47 kB / 1.164 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005728/0.7477, allocations: 2.004 MB / 1.166 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7477, allocations: 0.75 kB / 1.166 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.7477, allocations: 4 kB / 1.166 GB, free: 0.8125 MB / 0.7292 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.000555/0.7483, allocations: 450.5 kB / 1.167 GB, free: 360 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.7483, allocations: 9.359 kB / 1.167 GB, free: 352 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.7484, allocations: 12.75 kB / 1.167 GB, free: 340 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.7485, allocations: 212.5 kB / 1.167 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.7485, allocations: 10.78 kB / 1.167 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.7486, allocations: 12.38 kB / 1.167 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.749, allocations: 168.4 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.749, allocations: 0 / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.749, allocations: 5.359 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.7491, allocations: 4 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.7496, allocations: 187.3 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.7502, allocations: 411.7 kB / 1.168 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.7509, allocations: 190.1 kB / 1.168 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.7512, allocations: 105.3 kB / 1.168 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.7512, allocations: 4 kB / 1.168 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.7513, allocations: 30.56 kB / 1.168 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.7513, allocations: 0.5938 kB / 1.168 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0008819/0.7522, allocations: 326.3 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.7522, allocations: 60 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7523, allocations: 155.1 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.7524, allocations: 33.7 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.7524, allocations: 111.8 kB / 1.169 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.7525, allocations: 21.83 kB / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.7525, allocations: 0 / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.7526, allocations: 322.4 kB / 1.169 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.7528, allocations: 91.83 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7531, allocations: 92.67 kB / 1.169 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.7536, allocations: 186.6 kB / 1.169 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7536, allocations: 0 / 1.169 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005696/0.7542, allocations: 240.9 kB / 1.17 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.7542, allocations: 4 kB / 1.17 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7542, allocations: 4.656 kB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7542, allocations: 3.938 kB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.7545, allocations: 52.55 kB / 1.17 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7545, allocations: 0 / 1.17 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.7546, allocations: 34.16 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.7547, allocations: 5.359 kB / 1.17 GB, free: 13.6 MB / 0.7448 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 9.617e-05/0.7548, allocations: 124.8 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.7548, allocations: 7.906 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.7549, allocations: 22.67 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7549, allocations: 0 / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7549, allocations: 0 / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.7549, allocations: 4.5 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.7551, allocations: 241 kB / 1.17 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7551, allocations: 0.875 kB / 1.17 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.7554, allocations: 48.42 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7554, allocations: 0.7031 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.7554, allocations: 5.344 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7554, allocations: 3.938 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7554, allocations: 4 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.756, allocations: 328 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.7561, allocations: 90.31 kB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.7561, allocations: 6.094 kB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.7563, allocations: 32.11 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.7564, allocations: 31.25 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.7564, allocations: 10.44 kB / 1.171 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.7565, allocations: 113.1 kB / 1.171 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7565, allocations: 0 / 1.171 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002348/0.7568, allocations: 27.91 kB / 1.171 GB, free: 12.56 MB / 0.7448 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.0001328/0.7569, allocations: 112.9 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005593/0.7575, allocations: 205.4 kB / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7575, allocations: 0 / 1.171 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.7578, allocations: 119.3 kB / 1.171 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.758, allocations: 20.52 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.7586, allocations: 264.8 kB / 1.171 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.7588, allocations: 0.7048 MB / 1.172 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.7589, allocations: 25.38 kB / 1.172 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.759, allocations: 20.03 kB / 1.172 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.759, allocations: 0 / 1.172 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.00444/0.7634, allocations: 1.987 MB / 1.174 GB, free: 10.09 MB / 0.7448 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)