Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.007766/0.007767, allocations: 101.2 kB / 15.73 MB, free: 6.008 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.00146/0.00146, allocations: 194 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 71.89 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.305, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002986/0.3081, allocations: 1.569 MB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005877/0.3087, allocations: 212.2 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.3088, allocations: 4 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.3089, allocations: 15.8 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.3091, allocations: 19.86 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3093, allocations: 59.86 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3095, allocations: 123.7 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.3097, allocations: 48.95 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3098, allocations: 59.77 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.31, allocations: 79.67 kB / 0.8302 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.31, allocations: 15.98 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.31, allocations: 12 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.3101, allocations: 31.91 kB / 0.8302 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.3102, allocations: 55.72 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3104, allocations: 143.4 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3104, allocations: 0 / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3105, allocations: 4 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.3105, allocations: 0 / 0.8304 GB, free: 13.76 MB / 0.6544 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.001012/0.3115, allocations: 446.9 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3115, allocations: 11.97 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.3116, allocations: 16.75 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3119, allocations: 202.6 kB / 0.8311 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3119, allocations: 8.375 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3119, allocations: 20.3 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.3124, allocations: 149.7 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3124, allocations: 0 / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3124, allocations: 4 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.3125, allocations: 7.938 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.313, allocations: 159.8 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.3138, allocations: 412.4 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.3147, allocations: 166.5 kB / 0.832 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.315, allocations: 88.91 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.315, allocations: 3.984 kB / 0.8321 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.315, allocations: 38.5 kB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.315, allocations: 4 kB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.001012/0.3161, allocations: 277.3 kB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3161, allocations: 59.34 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3163, allocations: 148.5 kB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3163, allocations: 29.69 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.24e-05/0.3164, allocations: 104 kB / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.3164, allocations: 31.55 kB / 0.8327 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.3165, allocations: 25.7 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3167, allocations: 322.8 kB / 0.833 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.3169, allocations: 79.92 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3172, allocations: 71.92 kB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.3178, allocations: 165.2 kB / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3178, allocations: 3.938 kB / 0.8334 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006278/0.3184, allocations: 197.4 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3184, allocations: 7.938 kB / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3185, allocations: 0 / 0.8335 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3185, allocations: 7.938 kB / 0.8336 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.3187, allocations: 39.95 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3188, allocations: 4 kB / 0.8336 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.319, allocations: 19.88 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.319, allocations: 4 kB / 0.8336 GB, free: 10.26 MB / 0.6544 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.0001541/0.3191, allocations: 125.8 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3192, allocations: 11.91 kB / 0.8338 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.3192, allocations: 20.66 kB / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3193, allocations: 0 / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3193, allocations: 0 / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3193, allocations: 3.984 kB / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.3196, allocations: 229.6 kB / 0.834 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3196, allocations: 0 / 0.834 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.3199, allocations: 43.89 kB / 0.834 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3199, allocations: 0 / 0.834 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3199, allocations: 11.92 kB / 0.834 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3199, allocations: 4 kB / 0.834 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3199, allocations: 0 / 0.834 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.3206, allocations: 295.1 kB / 0.8343 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.3207, allocations: 96.95 kB / 0.8344 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.3207, allocations: 3.938 kB / 0.8344 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3209, allocations: 24.16 kB / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.321, allocations: 31.97 kB / 0.8345 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.321, allocations: 11.92 kB / 0.8345 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.638e-05/0.3211, allocations: 107.3 kB / 0.8346 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3211, allocations: 0 / 0.8346 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002492/0.3214, allocations: 24 kB / 0.8346 GB, free: 9.141 MB / 0.6544 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.0001865/0.3216, allocations: 103.2 kB / 0.8347 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006572/0.3223, allocations: 167.8 kB / 0.8349 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3223, allocations: 0 / 0.8349 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.3226, allocations: 107.8 kB / 0.835 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3229, allocations: 12 kB / 0.835 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.3236, allocations: 242.1 kB / 0.8352 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3239, allocations: 0.7078 MB / 0.8359 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.324, allocations: 24.42 kB / 0.8359 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.3241, allocations: 23.42 kB / 0.836 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.3241, allocations: 0 / 0.836 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of Templates: time 0.006004/0.3301, allocations: 2.416 MB / 0.8383 GB, free: 5.309 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)