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.001393/0.001393, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001679/0.001679, allocations: 193 kB / 16.25 MB, free: 6.617 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.08 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3995, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002453/0.402, allocations: 0.9102 MB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4032, allocations: 0.9052 MB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.714e-05/0.4033, allocations: 0 / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.4035, allocations: 3.938 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.4036, allocations: 19.86 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.4038, allocations: 47.94 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.404, allocations: 123.8 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4042, allocations: 41.09 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.228e-05/0.4043, allocations: 63.75 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.4044, allocations: 79.72 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.4045, allocations: 16 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.299e-05/0.4045, allocations: 15.94 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.4046, allocations: 35.91 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.4047, allocations: 55.7 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.4048, allocations: 135.5 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4049, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4049, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4049, allocations: 0 / 1.07 GB, free: 8.324 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.0009293/0.4058, allocations: 451.2 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4059, allocations: 12.03 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.4059, allocations: 12.75 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.4061, allocations: 204.6 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4062, allocations: 8.375 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4062, allocations: 11.94 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.4066, allocations: 149.5 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4067, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.4067, allocations: 4 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4067, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.4073, allocations: 151.8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.408, allocations: 420.4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.4089, allocations: 178.5 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.4091, allocations: 88.8 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.4092, allocations: 4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.4092, allocations: 30.56 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4092, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0009795/0.4102, allocations: 277.2 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4102, allocations: 59.41 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4104, allocations: 156.1 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4104, allocations: 29.64 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.4105, allocations: 104 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.4105, allocations: 27.64 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.4106, allocations: 29.7 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4107, allocations: 318.8 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.411, allocations: 79.92 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.4112, allocations: 75.92 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.4118, allocations: 152.7 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4118, allocations: 0 / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005948/0.4124, allocations: 201.9 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4124, allocations: 11.94 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4124, allocations: 96 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4124, allocations: 11.92 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.4127, allocations: 39.89 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4127, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4129, allocations: 27.91 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.4129, allocations: 0 / 1.073 GB, free: 4.828 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.0001548/0.4131, allocations: 125.8 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.4131, allocations: 15.83 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.4132, allocations: 20.72 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4132, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4132, allocations: 0 / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4132, allocations: 4 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.4135, allocations: 233.5 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4135, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.4137, allocations: 35.95 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4138, allocations: 3.938 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4138, allocations: 8 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.4138, allocations: 7.938 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4138, allocations: 3.938 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.4145, allocations: 291.3 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.4145, allocations: 100.9 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.4146, allocations: 3.984 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.4148, allocations: 15.97 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4149, allocations: 39.95 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.4149, allocations: 4 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.536e-05/0.415, allocations: 107.2 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.415, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002567/0.4153, allocations: 31.84 kB / 1.074 GB, free: 3.699 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.0001676/0.4154, allocations: 105.5 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006294/0.4161, allocations: 171.9 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4161, allocations: 192 / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.4164, allocations: 111.8 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.4167, allocations: 17.66 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.4173, allocations: 277.9 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.4176, allocations: 0.7041 MB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.4178, allocations: 24.42 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.4179, allocations: 23.42 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4179, allocations: 0 / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.004975/0.4228, allocations: 2.145 MB / 1.078 GB, free: 96 kB / 0.8262 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)