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.001243/0.001243, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001546/0.001546, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.709/1.709, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005137/0.0005137, allocations: 15.91 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.274, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001111/0.2751, allocations: 0.5414 MB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2764, allocations: 0.8867 MB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.2765, allocations: 7.938 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.796e-05/0.2766, allocations: 3.938 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.2767, allocations: 23.89 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.2769, allocations: 43.89 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.2771, allocations: 71.84 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2773, allocations: 33.28 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.2774, allocations: 47.83 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2775, allocations: 67.78 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.2775, allocations: 7.938 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.2776, allocations: 8 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.2776, allocations: 19.92 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.2777, allocations: 41.62 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2778, allocations: 91.78 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2778, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2778, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2778, allocations: 0 / 0.789 GB, free: 10.05 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.0008149/0.2786, allocations: 447 kB / 0.7894 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2787, allocations: 8.031 kB / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.2787, allocations: 7.906 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.279, allocations: 213.8 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.279, allocations: 12 kB / 0.7896 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.279, allocations: 8 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.2795, allocations: 164.3 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.2795, allocations: 0 / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.2795, allocations: 3.953 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.2796, allocations: 4 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.2801, allocations: 195.8 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.2808, allocations: 420.4 kB / 0.7904 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.2817, allocations: 182.5 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2817, allocations: 4.031 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2817, allocations: 38.55 kB / 0.7906 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.053e-06/0.2817, allocations: 192 / 0.7906 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009809/0.2827, allocations: 333.7 kB / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2828, allocations: 55.52 kB / 0.791 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2829, allocations: 153.9 kB / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2829, allocations: 25.7 kB / 0.7911 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.283, allocations: 112 kB / 0.7912 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.2831, allocations: 27.56 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/0.2831, allocations: 4 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2832, allocations: 322.8 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.2835, allocations: 87.92 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.2837, allocations: 91.92 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.284, allocations: 91.92 kB / 0.7918 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.284, allocations: 0 / 0.7918 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006022/0.2846, allocations: 233.4 kB / 0.7921 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2847, allocations: 4 kB / 0.7921 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2847, allocations: 4 kB / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.2847, allocations: 0 / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.285, allocations: 43.95 kB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.285, allocations: 8 kB / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.2852, allocations: 31.86 kB / 0.7922 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2852, allocations: 7.984 kB / 0.7922 GB, free: 6.559 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.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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2853, allocations: 125.8 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.2854, allocations: 11.81 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.2854, allocations: 24.7 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2854, allocations: 0 / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2854, allocations: 0 / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2854, allocations: 384 / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.2857, allocations: 233.5 kB / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2857, allocations: 0 / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.2859, allocations: 43.95 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.286, allocations: 11.92 kB / 0.7926 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.286, allocations: 4 kB / 0.7926 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.286, allocations: 4 kB / 0.7926 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.286, allocations: 0 / 0.7926 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.2866, allocations: 335.2 kB / 0.7929 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.2867, allocations: 92.92 kB / 0.793 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.2867, allocations: 0 / 0.793 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.2869, allocations: 27.97 kB / 0.793 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.287, allocations: 35.89 kB / 0.7931 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.287, allocations: 7.938 kB / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.2871, allocations: 115.8 kB / 0.7932 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2871, allocations: 0 / 0.7932 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002418/0.2874, allocations: 23.94 kB / 0.7932 GB, free: 5.387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.2875, allocations: 103.2 kB / 0.7933 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006586/0.2882, allocations: 203.8 kB / 0.7935 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2882, allocations: 0 / 0.7935 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.2885, allocations: 115.9 kB / 0.7936 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2887, allocations: 19.89 kB / 0.7936 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.2893, allocations: 265.8 kB / 0.7939 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.2895, allocations: 0.7082 MB / 0.7946 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.2897, allocations: 20.42 kB / 0.7946 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.2897, allocations: 23.42 kB / 0.7946 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2897, allocations: 0 / 0.7946 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of Templates: time 0.004547/0.2943, allocations: 1.975 MB / 0.7965 GB, free: 1.918 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: