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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001295/0.001295, allocations: 192.7 kB / 16.13 MB, free: 6.656 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 70.77 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4297, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002494/0.4322, allocations: 0.9383 MB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.4333, allocations: 0.8857 MB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.4334, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.4335, allocations: 11.86 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.4336, allocations: 19.88 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.4338, allocations: 35.95 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.4339, allocations: 135.6 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.4342, allocations: 57.11 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.4343, allocations: 55.72 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.4344, allocations: 79.72 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.4345, allocations: 8 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.443e-05/0.4345, allocations: 8 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.4346, allocations: 43.83 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.388e-05/0.4347, allocations: 67.58 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.4349, allocations: 155.7 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4349, allocations: 3.984 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4349, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4349, allocations: 0 / 1.07 GB, free: 8.41 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.001064/0.436, allocations: 0.4987 MB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.436, allocations: 8.031 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.4361, allocations: 16.75 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.4363, allocations: 223.9 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.4364, allocations: 4.375 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.4364, allocations: 12.38 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.4369, allocations: 179.6 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.437, allocations: 192 / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.437, allocations: 7.938 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.437, allocations: 3.938 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.4377, allocations: 219.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4388, allocations: 0.5236 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.4392, allocations: 150.4 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.4396, allocations: 116.7 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4396, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4397, allocations: 30.56 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.4397, allocations: 4 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001208/0.4409, allocations: 361.3 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.4409, allocations: 51.41 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4411, allocations: 184.5 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4411, allocations: 29.7 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.4412, allocations: 124 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.4413, allocations: 27.56 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.4413, allocations: 21.7 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4414, allocations: 326.8 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.4418, allocations: 103.9 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.4421, allocations: 107.8 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.4428, allocations: 209.2 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4428, allocations: 0 / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007773/0.4436, allocations: 269.2 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4436, allocations: 4 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4437, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4437, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.444, allocations: 47.94 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.444, allocations: 3.938 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.4442, allocations: 35.95 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4442, allocations: 0 / 1.074 GB, free: 4.336 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.0001263/0.4444, allocations: 133.8 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.4444, allocations: 15.81 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.4445, allocations: 21.41 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4445, allocations: 7.984 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4445, allocations: 3.938 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4445, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.4448, allocations: 253.5 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4448, allocations: 3.938 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.445, allocations: 43.94 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.445, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.4451, allocations: 4 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4451, allocations: 4 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4451, allocations: 3.938 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.4459, allocations: 355.1 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.4459, allocations: 88.92 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.446, allocations: 4 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.4462, allocations: 35.94 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.4463, allocations: 15.92 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.4463, allocations: 4 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001008/0.4464, allocations: 139.2 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4464, allocations: 0 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002418/0.4466, allocations: 28 kB / 1.075 GB, free: 3.098 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.0001878/0.4468, allocations: 103.3 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.4476, allocations: 227.7 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4476, allocations: 3.938 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.448, allocations: 123.9 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4483, allocations: 17.39 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.449, allocations: 349.2 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.4493, allocations: 0.7277 MB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.192e-05/0.4494, allocations: 24.39 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.4495, allocations: 15.44 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.4495, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.004296/0.4538, allocations: 1.56 MB / 1.078 GB, free: 15.92 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)