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.00145/0.00145, 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.001848/0.001848, allocations: 191.9 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.562/1.562, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 66.36 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4401, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002503/0.4426, allocations: 0.8985 MB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.4438, allocations: 0.9014 MB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.4439, allocations: 4 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.444, allocations: 7.875 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.4442, allocations: 11.91 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.4443, allocations: 51.95 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.4445, allocations: 123.7 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4447, allocations: 41.09 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.447e-05/0.4448, allocations: 55.75 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.4449, allocations: 75.67 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.445, allocations: 12 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.683e-05/0.445, allocations: 8 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.4451, allocations: 35.83 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.4452, allocations: 47.72 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.4453, allocations: 135.5 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4453, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4453, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.4454, allocations: 0 / 1.07 GB, free: 8.445 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.0009227/0.4463, allocations: 451.2 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4463, allocations: 12.03 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.4464, allocations: 12.75 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4466, allocations: 207.4 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4466, allocations: 8.375 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.4467, allocations: 11.94 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.4471, allocations: 151.1 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4471, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4472, allocations: 4 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4472, allocations: 4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.4478, allocations: 151.8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.4485, allocations: 420.4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.4494, allocations: 178.5 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.4497, allocations: 88.8 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4498, allocations: 7.984 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4498, allocations: 30.56 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.4498, allocations: 4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0009784/0.4508, allocations: 281.2 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4508, allocations: 59.41 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.451, allocations: 146.3 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.451, allocations: 29.7 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.4511, allocations: 104 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.4511, allocations: 27.64 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.4512, allocations: 30.08 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4514, allocations: 318.8 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.4517, allocations: 79.92 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.4519, allocations: 79.8 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.4525, allocations: 156.7 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4525, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006631/0.4532, allocations: 201.3 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.4533, allocations: 17.48 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4533, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4533, allocations: 4 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.4536, allocations: 35.95 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4536, allocations: 3.984 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.4538, allocations: 27.91 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4538, allocations: 0 / 1.073 GB, free: 4.945 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.0001589/0.454, allocations: 129.8 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.454, allocations: 15.84 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.4541, allocations: 16.72 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4541, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.4541, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4541, allocations: 4 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.4545, allocations: 237.4 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.4545, allocations: 0 / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.4547, allocations: 35.95 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.4547, allocations: 7.938 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.4548, allocations: 8 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4548, allocations: 4.281 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4548, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.4555, allocations: 299.2 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.4556, allocations: 92.95 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.4556, allocations: 7.984 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4558, allocations: 19.97 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4559, allocations: 27.97 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.456, allocations: 7.984 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.568e-05/0.4561, allocations: 108.9 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.733e-06/0.4561, allocations: 0 / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002657/0.4563, allocations: 35.78 kB / 1.074 GB, free: 3.812 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.0001823/0.4565, allocations: 103.2 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006082/0.4571, allocations: 167.8 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4572, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.4575, allocations: 103.9 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.4578, allocations: 15.92 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.4584, allocations: 283.6 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.4588, allocations: 0.7004 MB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.4589, allocations: 24.42 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.459, allocations: 19.42 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.459, allocations: 0 / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of Templates: time 0.005643/0.4646, allocations: 2.059 MB / 1.077 GB, free: 312 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)