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.001011/0.001011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009382/0.009382, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.582/1.582, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.071/3.071, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 13.31 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4066, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001225/0.4078, allocations: 0.5714 MB / 1.075 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.409, allocations: 0.8935 MB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.4091, allocations: 7.938 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.4092, allocations: 11.92 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.4094, allocations: 7.922 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.4095, allocations: 51.89 kB / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.4097, allocations: 123.7 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.4099, allocations: 41.09 kB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.41, allocations: 51.77 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.4101, allocations: 63.73 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.4102, allocations: 8 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.573e-05/0.4102, allocations: 8 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.4103, allocations: 31.83 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.4104, allocations: 65.44 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.4106, allocations: 131.5 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.4106, allocations: 0 / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.377e-06/0.4106, allocations: 0 / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4106, allocations: 0 / 1.076 GB, free: 5.422 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.001126/0.4118, allocations: 439.3 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.4119, allocations: 8.031 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.4119, allocations: 16.75 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.4123, allocations: 209.2 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.4123, allocations: 8.375 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.4124, allocations: 11.94 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.4129, allocations: 161.5 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4129, allocations: 3.984 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.4129, allocations: 8 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.413, allocations: 0 / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.4136, allocations: 188.9 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.4145, allocations: 420.4 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.4155, allocations: 190.4 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.4159, allocations: 101 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.4159, allocations: 11.97 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.416, allocations: 34.56 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.416, allocations: 0 / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001076/0.417, allocations: 333.2 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.4171, allocations: 51.41 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.4173, allocations: 158.3 kB / 1.078 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.4173, allocations: 25.7 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.4174, allocations: 108 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.4175, allocations: 23.66 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.4175, allocations: 25.64 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4177, allocations: 322.8 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.418, allocations: 91.92 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.4183, allocations: 91.94 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.4189, allocations: 188.7 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4189, allocations: 0 / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00065/0.4195, allocations: 237.3 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4196, allocations: 12.86 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.4196, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4196, allocations: 0 / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.4199, allocations: 52.61 kB / 1.08 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4199, allocations: 3.938 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4201, allocations: 35.91 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4201, allocations: 8 kB / 1.08 GB, free: 1.691 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.0001316/0.4202, allocations: 121.8 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.4203, allocations: 11.84 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.4203, allocations: 16.72 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4203, allocations: 3.938 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4203, allocations: 4 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4204, allocations: 0 / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.4207, allocations: 233.5 kB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.4207, allocations: 4 kB / 1.08 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.4209, allocations: 43.95 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4209, allocations: 3.938 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.421, allocations: 8 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.421, allocations: 0 / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.421, allocations: 0 / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.4217, allocations: 335.2 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.4218, allocations: 92.94 kB / 1.08 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.4218, allocations: 4 kB / 1.08 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.4221, allocations: 35.91 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.4222, allocations: 31.91 kB / 1.08 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.4222, allocations: 7.984 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.119e-05/0.4223, allocations: 107.2 kB / 1.081 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4223, allocations: 4 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002555/0.4226, allocations: 27.84 kB / 1.081 GB, free: 0.5195 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.0002161/0.4228, allocations: 103.2 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006868/0.4235, allocations: 199.8 kB / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4235, allocations: 0 / 1.081 GB, free: 220 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.4238, allocations: 119.8 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.4242, allocations: 20.39 kB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.4249, allocations: 273.5 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.4252, allocations: 0.7043 MB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.4253, allocations: 24.42 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.4254, allocations: 19.42 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4254, allocations: 0 / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of Templates: time 0.005399/0.4308, allocations: 2.035 MB / 1.084 GB, free: 12.98 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)