Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_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_3.0.0_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.0007943/0.0007943, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007156/0.007156, allocations: 170.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 473.4 MB / 0.7469 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004921, allocations: 18.39 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4694, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001502/0.471, allocations: 0.5675 MB / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.4722, allocations: 0.8974 MB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.4723, allocations: 0 / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.4724, allocations: 15.92 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.4726, allocations: 7.922 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.4728, allocations: 51.89 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.473, allocations: 123.7 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.4732, allocations: 41.09 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.4733, allocations: 47.77 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.4735, allocations: 75.72 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.4735, allocations: 4 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.4735, allocations: 8 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.4736, allocations: 27.84 kB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.4737, allocations: 65.42 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.4738, allocations: 131.5 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4739, allocations: 0 / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4739, allocations: 0 / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.4739, allocations: 0 / 1.076 GB, free: 5.484 MB / 0.8262 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.001028/0.4749, allocations: 439.3 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.475, allocations: 8.031 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.475, allocations: 16.69 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.4753, allocations: 217.1 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.4754, allocations: 8.375 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.4754, allocations: 11.94 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.4759, allocations: 166.8 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4759, allocations: 0 / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.4759, allocations: 0 / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4759, allocations: 7.984 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/0.4765, allocations: 187.8 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.4772, allocations: 416.4 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/0.4781, allocations: 190.4 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.4784, allocations: 101 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.4784, allocations: 7.969 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4785, allocations: 38.56 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.4785, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001072/0.4796, allocations: 329.2 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4796, allocations: 51.41 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.4798, allocations: 158.3 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4798, allocations: 29.64 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.4799, allocations: 108 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.4799, allocations: 23.66 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.48, allocations: 21.7 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4801, allocations: 326.8 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.4804, allocations: 87.92 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.4807, allocations: 92.31 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.4813, allocations: 192.8 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4813, allocations: 0 / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006267/0.4819, allocations: 237.3 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4819, allocations: 11.92 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.482, allocations: 0 / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.482, allocations: 4 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.4822, allocations: 47.89 kB / 1.08 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4823, allocations: 0 / 1.08 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.4824, allocations: 39.91 kB / 1.08 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4825, allocations: 4 kB / 1.08 GB, free: 1.754 MB / 0.8262 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.0001234/0.4826, allocations: 125.8 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.4826, allocations: 11.84 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.4827, allocations: 16.72 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4827, allocations: 0 / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4827, allocations: 0 / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4827, allocations: 4 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.483, allocations: 237.5 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.483, allocations: 0 / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.4832, allocations: 43.95 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.4832, allocations: 3.938 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.4832, allocations: 8 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.4832, allocations: 0 / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4832, allocations: 3.938 kB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.4839, allocations: 331.4 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.484, allocations: 89.05 kB / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.484, allocations: 15.86 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.4842, allocations: 31.91 kB / 1.08 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4843, allocations: 31.97 kB / 1.08 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4844, allocations: 7.984 kB / 1.08 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.4844, allocations: 107.2 kB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4844, allocations: 0 / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002462/0.4847, allocations: 31.84 kB / 1.081 GB, free: 0.5781 MB / 0.8262 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.0001771/0.4849, allocations: 103.2 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006467/0.4855, allocations: 199.8 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4855, allocations: 0 / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.4859, allocations: 119.8 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.4862, allocations: 21.81 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.4868, allocations: 269.6 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.4871, allocations: 0.7083 MB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.4872, allocations: 20.42 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.4873, allocations: 19.42 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4873, allocations: 0 / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of Templates: time 0.004774/0.4921, allocations: 2.036 MB / 1.084 GB, free: 13.04 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)