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.001441/0.001441, allocations: 108 kB / 15.6 MB, free: 132 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.001855/0.001855, allocations: 193 kB / 16.53 MB, free: 6.391 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.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.861/1.861, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001613/0.001613, allocations: 71.14 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3347, allocations: 114.6 MB / 0.7834 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00222/0.3369, allocations: 0.8412 MB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3381, allocations: 0.8905 MB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.3382, allocations: 7.938 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.3383, allocations: 15.86 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3385, allocations: 11.88 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.3387, allocations: 59.86 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.3388, allocations: 135.7 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.339, allocations: 41.11 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.3391, allocations: 55.77 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3393, allocations: 79.72 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.3393, allocations: 12 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.547e-05/0.3393, allocations: 12 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.3394, allocations: 35.89 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.3395, allocations: 59.72 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3397, allocations: 135.8 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3397, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3397, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3397, allocations: 0 / 0.7857 GB, free: 11 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.0009014/0.3407, allocations: 450.8 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.3407, allocations: 8.031 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.3408, allocations: 20.75 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.3411, allocations: 211 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3411, allocations: 4.375 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.3412, allocations: 8.375 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.3416, allocations: 149.6 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3417, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.3417, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3417, allocations: 11.98 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.3423, allocations: 155.8 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.3432, allocations: 416.5 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/0.3441, allocations: 174.4 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3445, allocations: 88.95 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.3445, allocations: 3.984 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.3446, allocations: 38.5 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.3446, allocations: 0 / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.001082/0.3456, allocations: 285.2 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.3457, allocations: 59.34 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.3459, allocations: 146.4 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.346, allocations: 29.7 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3461, allocations: 108 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3461, allocations: 27.56 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3463, allocations: 25.7 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3464, allocations: 326.8 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.3467, allocations: 71.92 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.347, allocations: 76.3 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.3475, allocations: 164.8 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3475, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005837/0.3481, allocations: 197.4 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3481, allocations: 4 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3481, allocations: 0 / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3482, allocations: 3.938 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.3484, allocations: 43.89 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3485, allocations: 4 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3486, allocations: 23.91 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3487, allocations: 7.984 kB / 0.7889 GB, free: 7.492 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.0001434/0.3488, allocations: 122.5 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.3489, allocations: 15.81 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.3489, allocations: 20.66 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3489, allocations: 3.984 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.349, allocations: 4 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.349, allocations: 3.938 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.3492, allocations: 229.6 kB / 0.7893 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3492, allocations: 0 / 0.7893 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.3495, allocations: 43.89 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3495, allocations: 0 / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3495, allocations: 7.922 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3495, allocations: 4 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3495, allocations: 0 / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.3502, allocations: 303.3 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.3503, allocations: 85.02 kB / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.3503, allocations: 3.938 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.3505, allocations: 23.97 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3506, allocations: 31.97 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3507, allocations: 7.984 kB / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.3508, allocations: 114.4 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3508, allocations: 0 / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002531/0.351, allocations: 31.84 kB / 0.7899 GB, free: 6.363 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.0001518/0.3512, allocations: 95.25 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.3518, allocations: 175.8 kB / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3518, allocations: 0 / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.3522, allocations: 107.8 kB / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3525, allocations: 14.73 kB / 0.7903 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.3532, allocations: 242.1 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3535, allocations: 0.7119 MB / 0.7912 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3536, allocations: 20.38 kB / 0.7912 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.3537, allocations: 35.41 kB / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.3537, allocations: 0 / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.005657/0.3594, allocations: 2.386 MB / 0.7936 GB, free: 2.551 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)