Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001522/0.001522, allocations: 109.4 kB / 15.69 MB, free: 128 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.001811/0.001811, allocations: 188 kB / 16.62 MB, free: 6.582 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.568/1.568, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.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.003186/0.003186, allocations: 77.11 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3494, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002338/0.3518, allocations: 0.8487 MB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3529, allocations: 0.8944 MB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.353, allocations: 0 / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.3531, allocations: 15.86 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3532, allocations: 11.81 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.3534, allocations: 59.92 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3536, allocations: 131.7 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3538, allocations: 37.11 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.3539, allocations: 59.77 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.354, allocations: 79.72 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.3541, allocations: 16 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.3541, allocations: 12 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.3542, allocations: 35.89 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.3542, allocations: 51.72 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3544, allocations: 147.4 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.3544, allocations: 4 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3544, allocations: 3.938 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3545, allocations: 0 / 0.7865 GB, free: 10.33 MB / 0.6075 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.0008602/0.3553, allocations: 450.8 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3554, allocations: 8.031 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3554, allocations: 12.75 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3556, allocations: 204.6 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3557, allocations: 8.375 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3557, allocations: 8.375 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.3561, allocations: 157.6 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3561, allocations: 0 / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3562, allocations: 4 kB / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3562, allocations: 0 / 0.7873 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.3567, allocations: 155.8 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.3574, allocations: 420.4 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.3583, allocations: 174.5 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3586, allocations: 88.86 kB / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.3586, allocations: 3.984 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3587, allocations: 34.56 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.3587, allocations: 0 / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009483/0.3596, allocations: 281.2 kB / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3597, allocations: 59.34 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3599, allocations: 149.6 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3599, allocations: 25.7 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.36, allocations: 104 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.36, allocations: 35.55 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.3601, allocations: 33.7 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3602, allocations: 322.8 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.3605, allocations: 75.86 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3607, allocations: 80.3 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.3612, allocations: 156.8 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3613, allocations: 0 / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005673/0.3618, allocations: 201.4 kB / 0.7896 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3619, allocations: 11.98 kB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3619, allocations: 0 / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3619, allocations: 3.938 kB / 0.7896 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3621, allocations: 35.95 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3622, allocations: 0 / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.3623, allocations: 27.91 kB / 0.7897 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3623, allocations: 4 kB / 0.7897 GB, free: 6.832 MB / 0.6075 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.0001246/0.3625, allocations: 125.8 kB / 0.7898 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3625, allocations: 11.81 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.3626, allocations: 20.66 kB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3626, allocations: 4 kB / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3626, allocations: 4 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.3626, allocations: 0 / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.3629, allocations: 237.5 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3629, allocations: 4 kB / 0.7901 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.3631, allocations: 31.95 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3631, allocations: 4 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3632, allocations: 3.938 kB / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3632, allocations: 0 / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3632, allocations: 0 / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.3638, allocations: 307.3 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.3639, allocations: 89 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3639, allocations: 3.938 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3641, allocations: 23.97 kB / 0.7905 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3642, allocations: 31.97 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3642, allocations: 4 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.3643, allocations: 115.2 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3643, allocations: 0 / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002423/0.3646, allocations: 27.84 kB / 0.7907 GB, free: 5.707 MB / 0.6075 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.000149/0.3647, allocations: 103.2 kB / 0.7908 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005921/0.3653, allocations: 179.7 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3653, allocations: 0 / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.3656, allocations: 99.91 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.3659, allocations: 15.94 kB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.3666, allocations: 238.1 kB / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.367, allocations: 0.708 MB / 0.792 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.3671, allocations: 24.42 kB / 0.792 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.3672, allocations: 27.42 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3672, allocations: 0 / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.005153/0.3724, allocations: 2.387 MB / 0.7943 GB, free: 1.895 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)