Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001237/0.001237, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 196.7 kB / 16.54 MB, free: 6.668 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.51/1.51, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 61.75 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4275, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002365/0.4299, allocations: 0.8539 MB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4311, allocations: 0.9052 MB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.4311, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.4313, allocations: 11.86 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.4314, allocations: 19.81 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.4316, allocations: 59.91 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.4318, allocations: 127.7 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.432, allocations: 45.08 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.4321, allocations: 59.83 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.4322, allocations: 75.72 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.4323, allocations: 12 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.682e-05/0.4323, allocations: 12 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.4324, allocations: 39.83 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.4325, allocations: 59.66 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.4326, allocations: 139.5 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4326, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4326, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4327, allocations: 0 / 1.071 GB, free: 8.031 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.0008875/0.4336, allocations: 443.2 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4336, allocations: 12.03 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.4337, allocations: 12.75 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.4339, allocations: 209.6 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.4339, allocations: 8.375 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.4339, allocations: 7.938 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.4344, allocations: 151.4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4344, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.4344, allocations: 8 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4344, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.435, allocations: 159.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.4357, allocations: 420.4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.4366, allocations: 166.5 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.4369, allocations: 96.89 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.4369, allocations: 3.984 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.437, allocations: 34.56 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.437, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0009743/0.4379, allocations: 281.2 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.438, allocations: 55.41 kB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4381, allocations: 153 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4381, allocations: 25.7 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.4382, allocations: 112 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.4383, allocations: 27.64 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.4383, allocations: 37.69 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4384, allocations: 318.8 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.4387, allocations: 67.94 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.439, allocations: 79.92 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/0.4396, allocations: 160.6 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4396, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006229/0.4402, allocations: 205.3 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4402, allocations: 13.81 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4402, allocations: 0 / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4403, allocations: 0.6562 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.4405, allocations: 35.95 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4405, allocations: 4 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.4407, allocations: 27.91 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.4408, allocations: 3.984 kB / 1.074 GB, free: 4.535 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.0001059/0.4409, allocations: 121.8 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.4409, allocations: 11.84 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.441, allocations: 24.64 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.441, allocations: 0 / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.441, allocations: 4 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.441, allocations: 7.938 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.4413, allocations: 229.5 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4413, allocations: 3.984 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.4415, allocations: 35.95 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.4415, allocations: 7.938 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4416, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4416, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4416, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.4423, allocations: 303.2 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.4423, allocations: 88.95 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4423, allocations: 3.938 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.4426, allocations: 27.97 kB / 1.075 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4427, allocations: 35.94 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4427, allocations: 4 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.411e-05/0.4428, allocations: 109.9 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4428, allocations: 4 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000261/0.443, allocations: 27.84 kB / 1.075 GB, free: 3.41 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.0001493/0.4432, allocations: 109.3 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006466/0.4438, allocations: 171.8 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4439, allocations: 0 / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.4442, allocations: 99.91 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.4445, allocations: 20.41 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.4451, allocations: 253.7 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.4454, allocations: 0.7046 MB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.4455, allocations: 20.42 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.4456, allocations: 23.42 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.4456, allocations: 4 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.005337/0.451, allocations: 2.393 MB / 1.078 GB, free: 15.58 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)