Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 289.7 MB / 302.3 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 179.6 kB / 371.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009836/0.0009837, allocations: 92.5 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.639e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9439/1.224, allocations: 138.9 MB / 1.115 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/1.224, allocations: 67.95 kB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006364/1.23, allocations: 2 MB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.23, allocations: 0 / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.23, allocations: 4 kB / 1.117 GB, free: 43.48 MB / 0.7448 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.0006533/1.231, allocations: 423 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.231, allocations: 12.03 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/1.231, allocations: 13.53 kB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/1.231, allocations: 206.1 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/1.231, allocations: 12.2 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/1.232, allocations: 7.5 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/1.232, allocations: 109.1 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.232, allocations: 4 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/1.232, allocations: 4.609 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.232, allocations: 3.953 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/1.232, allocations: 89.34 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/1.233, allocations: 419.7 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/1.233, allocations: 131.2 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/1.233, allocations: 51.44 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/1.233, allocations: 0 / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/1.233, allocations: 31.44 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/1.233, allocations: 11.94 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003022/1.234, allocations: 122.4 kB / 1.119 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/1.234, allocations: 51.41 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.234, allocations: 135.8 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.234, allocations: 29.17 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/1.234, allocations: 110.6 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/1.234, allocations: 35.23 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/1.234, allocations: 0 / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/1.234, allocations: 334.7 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/1.234, allocations: 35.11 kB / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/1.234, allocations: 39.38 kB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/1.234, allocations: 38.53 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.234, allocations: 0.6562 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002134/1.234, allocations: 127.4 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.235, allocations: 4.625 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.235, allocations: 7.281 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.235, allocations: 0.6562 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/1.235, allocations: 46.55 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.235, allocations: 0.5469 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.235, allocations: 30.34 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/1.235, allocations: 4 kB / 1.12 GB, free: 41.18 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 () * 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 7.687e-05/1.235, allocations: 122.3 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/1.235, allocations: 12.38 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/1.235, allocations: 20.31 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.235, allocations: 0 / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.235, allocations: 0.6094 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.235, allocations: 0 / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/1.235, allocations: 232.7 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.235, allocations: 3.938 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/1.236, allocations: 53.84 kB / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.236, allocations: 0 / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/1.236, allocations: 0 / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.236, allocations: 0 / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.236, allocations: 4 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/1.236, allocations: 232.5 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/1.236, allocations: 100.4 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/1.236, allocations: 1.125 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/1.236, allocations: 22.7 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.236, allocations: 32.48 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/1.236, allocations: 11.2 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.759e-05/1.237, allocations: 110.7 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.237, allocations: 4 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002464/1.237, allocations: 20 kB / 1.121 GB, free: 40.32 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 () * 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.0001819/1.237, allocations: 109.9 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002277/1.237, allocations: 96.88 kB / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.237, allocations: 0 / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/1.237, allocations: 59.66 kB / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/1.238, allocations: 23.58 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/1.238, allocations: 172.2 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/1.238, allocations: 0.7095 MB / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001209/1.238, allocations: 23.95 kB / 1.122 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/1.238, allocations: 18.95 kB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.238, allocations: 1.031 kB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.004646/1.243, allocations: 1.98 MB / 1.124 GB, free: 38.14 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)