Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 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.001929/0.001929, allocations: 197.5 kB / 16.54 MB, free: 6.672 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.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 68.02 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3773, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002599/0.38, allocations: 0.8815 MB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3811, allocations: 0.8723 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.3811, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3813, allocations: 19.8 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3814, allocations: 35.72 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.3815, allocations: 39.95 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3817, allocations: 131.6 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.3819, allocations: 61.09 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.382, allocations: 55.78 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3822, allocations: 95.7 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.3822, allocations: 12 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.44e-05/0.3823, allocations: 12 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.3823, allocations: 43.84 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.3824, allocations: 63.59 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3826, allocations: 163.6 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3827, allocations: 4 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3827, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3827, allocations: 0 / 1.071 GB, free: 7.934 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009938/0.3837, allocations: 0.4987 MB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3837, allocations: 16.02 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.3838, allocations: 20.69 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.384, allocations: 211.9 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.384, allocations: 16.31 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.384, allocations: 8.375 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.3846, allocations: 174.1 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3846, allocations: 192 / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.3846, allocations: 7.938 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3846, allocations: 11.88 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.3854, allocations: 223.8 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.3864, allocations: 0.5042 MB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.3869, allocations: 150.4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.3873, allocations: 120.8 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.3873, allocations: 0 / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3873, allocations: 34.55 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3874, allocations: 0 / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001232/0.3886, allocations: 365.3 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3887, allocations: 59.34 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3888, allocations: 179.4 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3889, allocations: 33.7 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3889, allocations: 116 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.389, allocations: 35.53 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.389, allocations: 21.72 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3892, allocations: 326.8 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.3895, allocations: 111.9 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.3899, allocations: 99.89 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.3906, allocations: 217.1 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3907, allocations: 3.938 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008027/0.3915, allocations: 253.3 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3915, allocations: 8 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3915, allocations: 7.984 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3915, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.3918, allocations: 43.89 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3918, allocations: 7.922 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.392, allocations: 35.95 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.392, allocations: 0 / 1.074 GB, free: 3.844 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000114/0.3922, allocations: 137.8 kB / 1.075 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.3922, allocations: 11.81 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.3923, allocations: 25.39 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3923, allocations: 4 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3923, allocations: 3.938 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3923, allocations: 3.938 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.3926, allocations: 249.5 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3926, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.3928, allocations: 43.95 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3929, allocations: 3.984 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3929, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3929, allocations: 3.938 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3929, allocations: 3.938 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.3937, allocations: 363.1 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.3938, allocations: 88.92 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3938, allocations: 0 / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3941, allocations: 39.95 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.3941, allocations: 16.11 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3941, allocations: 0 / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.861e-05/0.3942, allocations: 143 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3942, allocations: 0 / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002446/0.3945, allocations: 20 kB / 1.075 GB, free: 2.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001397/0.3946, allocations: 103.7 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.3955, allocations: 231.7 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3955, allocations: 0 / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.3959, allocations: 123.8 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3963, allocations: 27.98 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.3971, allocations: 295.5 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.3974, allocations: 0.7314 MB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.3976, allocations: 20.41 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.3976, allocations: 11.44 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of SimCode: time 1.332e-06/0.3976, allocations: 8 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.005273/0.4029, allocations: 1.904 MB / 1.079 GB, free: 15.12 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1)