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.00127/0.00127, allocations: 108.4 kB / 16.36 MB, free: 6.012 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.001377/0.001377, allocations: 191.6 kB / 17.3 MB, free: 5.617 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.00234/0.00234, allocations: 67.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2839, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002418/0.2863, allocations: 0.8454 MB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2878, allocations: 0.8944 MB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.288, allocations: 4 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.2881, allocations: 7.875 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.2884, allocations: 19.8 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2887, allocations: 55.92 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.289, allocations: 127.7 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.2893, allocations: 45.09 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2894, allocations: 59.77 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.2896, allocations: 79.72 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.2897, allocations: 12 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.139e-05/0.2897, allocations: 12 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.2898, allocations: 39.89 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.2899, allocations: 59.66 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2901, allocations: 143.5 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.2902, allocations: 0 / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2902, allocations: 3.938 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.2902, allocations: 0 / 0.7871 GB, free: 0.7539 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.0009618/0.2912, allocations: 442.9 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2912, allocations: 8.031 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.2913, allocations: 20.73 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2915, allocations: 208.6 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4513/0.7429, allocations: 2.453 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.743, allocations: 8 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.7435, allocations: 150.2 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.7435, allocations: 0.5625 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.7436, allocations: 6.875 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.7436, allocations: 2.625 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.7441, allocations: 161.2 kB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.7447, allocations: 413.6 kB / 0.7885 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.7456, allocations: 170.4 kB / 0.7887 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.7458, allocations: 91.41 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.7459, allocations: 0 / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.7459, allocations: 44.47 kB / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.7459, allocations: 2.531 kB / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0008797/0.7468, allocations: 275.2 kB / 0.7891 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.7468, allocations: 58.91 kB / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.7469, allocations: 153.7 kB / 0.7893 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.747, allocations: 25.7 kB / 0.7893 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.747, allocations: 105 kB / 0.7894 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.747, allocations: 29.88 kB / 0.7894 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.7471, allocations: 30.08 kB / 0.7894 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.7472, allocations: 326.4 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.7474, allocations: 72.77 kB / 0.7898 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.7477, allocations: 78.02 kB / 0.7899 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.7482, allocations: 157.8 kB / 0.79 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7482, allocations: 0 / 0.79 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005356/0.7487, allocations: 210.1 kB / 0.7902 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7487, allocations: 9 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7487, allocations: 0 / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.7488, allocations: 2.25 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.749, allocations: 38.17 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7491, allocations: 0 / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.7492, allocations: 25.98 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.7492, allocations: 5.469 kB / 0.7903 GB, free: 47.77 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 8.759e-05/0.7493, allocations: 128.4 kB / 0.7904 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.7494, allocations: 9.344 kB / 0.7905 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.7494, allocations: 18.95 kB / 0.7905 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7494, allocations: 2.688 kB / 0.7905 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7494, allocations: 0.5312 kB / 0.7905 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7495, allocations: 0 / 0.7905 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.7497, allocations: 241 kB / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7497, allocations: 0 / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.7499, allocations: 38.33 kB / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7499, allocations: 0.9375 kB / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.7499, allocations: 6.578 kB / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7499, allocations: 0 / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7499, allocations: 0.6875 kB / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.7505, allocations: 307.6 kB / 0.791 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.7506, allocations: 87.02 kB / 0.7911 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.7506, allocations: 4.625 kB / 0.7911 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.7508, allocations: 16.39 kB / 0.7911 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.7509, allocations: 36.67 kB / 0.7912 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.7509, allocations: 2.75 kB / 0.7912 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.751, allocations: 113.6 kB / 0.7913 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.072e-06/0.751, allocations: 0 / 0.7913 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000251/0.7512, allocations: 29.05 kB / 0.7913 GB, free: 47.14 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.0001157/0.7514, allocations: 107.3 kB / 0.7914 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005987/0.752, allocations: 173.6 kB / 0.7916 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.752, allocations: 2.844 kB / 0.7916 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.7523, allocations: 99.19 kB / 0.7917 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.7526, allocations: 20.34 kB / 0.7917 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.7531, allocations: 230.5 kB / 0.7919 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.7532, allocations: 0.7047 MB / 0.7926 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.492e-05/0.7533, allocations: 23.56 kB / 0.7926 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.7534, allocations: 30.22 kB / 0.7927 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7534, allocations: 0 / 0.7927 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.004728/0.7582, allocations: 2.392 MB / 0.795 GB, free: 46.13 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)