Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009635/0.0009638, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008322/0.008323, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 18.83 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3758, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001062/0.3769, allocations: 0.5956 MB / 1.075 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3782, allocations: 0.8819 MB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.3783, allocations: 0 / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3784, allocations: 15.86 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3785, allocations: 31.78 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.3786, allocations: 31.97 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3788, allocations: 127.6 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.379, allocations: 57.11 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.3791, allocations: 43.78 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3793, allocations: 75.72 kB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.3794, allocations: 4 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.3794, allocations: 8 kB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.3795, allocations: 43.77 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.611e-05/0.3795, allocations: 81.3 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3797, allocations: 147.6 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3797, allocations: 0 / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3797, allocations: 0 / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3797, allocations: 4 kB / 1.076 GB, free: 5.406 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.0009103/0.3807, allocations: 0.5066 MB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3807, allocations: 8.031 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.3808, allocations: 16.75 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.381, allocations: 219.9 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.381, allocations: 4.375 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.381, allocations: 12.31 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.3816, allocations: 219.6 kB / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3816, allocations: 192 / 1.077 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.3817, allocations: 3.938 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3817, allocations: 4 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.3826, allocations: 271.8 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.3836, allocations: 0.5393 MB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.3841, allocations: 174.5 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.3846, allocations: 148.7 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3846, allocations: 192 / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3846, allocations: 46.5 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.3846, allocations: 0 / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001391/0.386, allocations: 437.1 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3861, allocations: 55.41 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3863, allocations: 188.5 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3863, allocations: 25.7 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.3864, allocations: 123.9 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3864, allocations: 35.53 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.3865, allocations: 17.72 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3866, allocations: 322.8 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.387, allocations: 127.9 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.3875, allocations: 135.9 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008057/0.3883, allocations: 273.1 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3883, allocations: 0 / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008859/0.3892, allocations: 313.4 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3892, allocations: 7.938 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3892, allocations: 0 / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3892, allocations: 0 / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.3895, allocations: 63.92 kB / 1.08 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3896, allocations: 7.938 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.3898, allocations: 47.86 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3898, allocations: 8 kB / 1.08 GB, free: 0.8867 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.0001118/0.3899, allocations: 125.8 kB / 1.081 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.39, allocations: 11.91 kB / 1.081 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.39, allocations: 21.39 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.39, allocations: 0 / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3901, allocations: 3.938 kB / 1.081 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3901, allocations: 0 / 1.081 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.3904, allocations: 261.3 kB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3904, allocations: 0 / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.3907, allocations: 63.88 kB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3907, allocations: 4 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3907, allocations: 0 / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3907, allocations: 0 / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3907, allocations: 3.938 kB / 1.081 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.3917, allocations: 415.1 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3918, allocations: 85.02 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3918, allocations: 0 / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3921, allocations: 51.94 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.3922, allocations: 15.92 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3922, allocations: 192 / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001123/0.3923, allocations: 143.2 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3923, allocations: 3.938 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002642/0.3926, allocations: 31.91 kB / 1.082 GB, free: 15.57 MB / 0.8419 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.0001911/0.3928, allocations: 103.2 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009798/0.3937, allocations: 279.7 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3938, allocations: 0 / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.3942, allocations: 147.8 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3946, allocations: 23.98 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.3952, allocations: 342.6 kB / 1.082 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3956, allocations: 0.7317 MB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.3957, allocations: 16.42 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.3958, allocations: 15.42 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of SimCode: time 1.783e-06/0.3958, allocations: 0 / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of Templates: time 0.004514/0.4003, allocations: 1.551 MB / 1.085 GB, free: 12.34 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1)