Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001325/0.001324, allocations: 184.9 kB / 361.4 MB, free: 6.848 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.841/1.841, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008117/0.0008118, allocations: 104 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.01e-05, allocations: 8 kB / 0.8518 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6861, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.8712, allocations: 137.2 MB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.8715, allocations: 76.42 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006176/0.8777, allocations: 1.987 MB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8777, allocations: 0 / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.8777, allocations: 4.719 kB / 1.1 GB, free: 0.5977 MB / 0.698 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.0006314/0.8784, allocations: 430.7 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8784, allocations: 12.03 kB / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.8785, allocations: 12.92 kB / 1.101 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.8787, allocations: 206.9 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.8787, allocations: 4.844 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.8787, allocations: 4 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001759/0.8789, allocations: 83.84 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.8791, allocations: 105.6 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.8791, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.8791, allocations: 3.953 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.8791, allocations: 1.406 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.8797, allocations: 391 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.8803, allocations: 126.7 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.8804, allocations: 44.89 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.8804, allocations: 4.031 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.8804, allocations: 30.56 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.8805, allocations: 0 / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002689/0.8807, allocations: 126.6 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.8808, allocations: 51.41 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.8809, allocations: 132.4 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.8809, allocations: 25.7 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.881, allocations: 108 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.881, allocations: 31.48 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.881, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8811, allocations: 325.4 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.8812, allocations: 35.94 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.8813, allocations: 36.64 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.8813, allocations: 43.06 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8813, allocations: 4 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.8816, allocations: 129.5 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.8816, allocations: 5.094 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.8816, allocations: 0 / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.8816, allocations: 4 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.8819, allocations: 39.95 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.8819, allocations: 0 / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.8821, allocations: 35.88 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.8821, allocations: 7.984 kB / 1.103 GB, free: 13.87 MB / 0.7136 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 8.278e-05/0.8822, allocations: 101 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.8822, allocations: 18.8 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.8822, allocations: 16.62 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8823, allocations: 4 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.8823, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.8823, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.8825, allocations: 206.1 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8825, allocations: 7.938 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.8827, allocations: 39.95 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.8827, allocations: 11.98 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.8828, allocations: 3.953 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8828, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8828, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.883, allocations: 229 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.8831, allocations: 84.95 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.8831, allocations: 4 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.8833, allocations: 31.92 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.8834, allocations: 31.95 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.8834, allocations: 4 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.8835, allocations: 106.5 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8835, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002348/0.8837, allocations: 24 kB / 1.104 GB, free: 12.89 MB / 0.7136 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.0001427/0.8839, allocations: 111 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.8841, allocations: 97.5 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8841, allocations: 4 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8842, allocations: 55.92 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.8844, allocations: 15.98 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.8848, allocations: 162.6 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.8851, allocations: 0.7181 MB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.8852, allocations: 21.22 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.8853, allocations: 19.42 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8853, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of Templates: time 0.00382/0.8892, allocations: 1.863 MB / 1.107 GB, free: 9.836 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)