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.001669/0.001669, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001854/0.001854, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 71.27 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4733, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002698/0.4761, allocations: 0.9047 MB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.4774, allocations: 0.9013 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.4775, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.4776, allocations: 3.938 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.4778, allocations: 15.84 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.478, allocations: 55.95 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.4782, allocations: 123.7 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.4784, allocations: 41.09 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.4784, allocations: 55.75 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.4786, allocations: 71.73 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.4787, allocations: 8 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.707e-05/0.4787, allocations: 8 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.4788, allocations: 31.89 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.4789, allocations: 47.72 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.479, allocations: 135.4 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4791, allocations: 4 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4791, allocations: 4 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.4791, allocations: 0 / 1.07 GB, free: 8.469 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.0009129/0.48, allocations: 443.2 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4801, allocations: 12.03 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.4801, allocations: 12.75 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4804, allocations: 208.6 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4804, allocations: 8.375 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.4804, allocations: 11.94 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.4808, allocations: 151.3 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4809, allocations: 3.938 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.4809, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.4809, allocations: 4 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.4814, allocations: 159.8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.4822, allocations: 420.4 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009077/0.4831, allocations: 170.4 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.4834, allocations: 84.95 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.4834, allocations: 15.97 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4835, allocations: 34.5 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.4835, allocations: 0 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0009958/0.4845, allocations: 277.2 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4845, allocations: 55.41 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.4847, allocations: 151.1 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.4848, allocations: 29.7 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.4849, allocations: 100 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.4849, allocations: 23.66 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.485, allocations: 41.69 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4851, allocations: 318.8 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.4854, allocations: 76.3 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.4857, allocations: 75.86 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.4862, allocations: 160.7 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4862, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00059/0.4868, allocations: 205.3 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.4869, allocations: 11.94 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4869, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4869, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.4872, allocations: 35.95 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.4872, allocations: 3.984 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.4874, allocations: 31.91 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4874, allocations: 7.984 kB / 1.073 GB, free: 4.965 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.0001361/0.4876, allocations: 117.8 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.4876, allocations: 11.84 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.4877, allocations: 20.7 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4877, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4877, allocations: 0 / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4877, allocations: 3.938 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.488, allocations: 237.5 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.488, allocations: 3.984 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.4883, allocations: 43.89 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4883, allocations: 3.938 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4883, allocations: 8 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4883, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4883, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.489, allocations: 303.5 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.489, allocations: 88.95 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.4891, allocations: 4 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4893, allocations: 15.97 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4894, allocations: 35.95 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4894, allocations: 7.984 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.169e-05/0.4895, allocations: 108.8 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4895, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002479/0.4897, allocations: 31.84 kB / 1.074 GB, free: 3.844 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.0001829/0.4899, allocations: 103.2 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.4905, allocations: 171.8 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4905, allocations: 0 / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.4908, allocations: 99.84 kB / 1.074 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.4912, allocations: 15.94 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.4918, allocations: 275.6 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.4922, allocations: 0.7121 MB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000124/0.4923, allocations: 20.42 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.4924, allocations: 23.41 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4924, allocations: 0 / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.005142/0.4976, allocations: 2.056 MB / 1.077 GB, free: 344 kB / 0.8262 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)