Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.732/2.732, allocations: 287.5 MB / 302.4 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 188.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.356/2.356, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.000947, allocations: 93.16 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004977, allocations: 16.3 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2211, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001096/0.2223, allocations: 0.5364 MB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2235, allocations: 0.8798 MB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.2236, allocations: 4 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.814e-05/0.2238, allocations: 7.922 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2239, allocations: 11.88 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.2241, allocations: 51.94 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.2243, allocations: 111.7 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2244, allocations: 33.3 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.2245, allocations: 47.83 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2247, allocations: 63.73 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.2247, allocations: 4 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.2248, allocations: 8 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.2248, allocations: 27.89 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2249, allocations: 41.58 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.225, allocations: 95.77 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.225, allocations: 3.938 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2251, allocations: 0 / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2251, allocations: 4 kB / 0.9803 GB, free: 26.41 MB / 0.6198 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.001032/0.2261, allocations: 443 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2262, allocations: 16.02 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.2262, allocations: 15.86 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.2265, allocations: 195.5 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2265, allocations: 8 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.2266, allocations: 7.938 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.2272, allocations: 171.7 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2273, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.2273, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.2273, allocations: 4 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000968/0.2283, allocations: 195.8 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.2292, allocations: 412.4 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.2307, allocations: 190.4 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.2313, allocations: 104.9 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.2313, allocations: 0 / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2313, allocations: 38.56 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.2313, allocations: 0 / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001639/0.233, allocations: 329.4 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.233, allocations: 55.41 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2332, allocations: 146.2 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2332, allocations: 29.7 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.2333, allocations: 104 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.2334, allocations: 39.53 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.2334, allocations: 4 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.2335, allocations: 322.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.234, allocations: 87.92 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.2345, allocations: 100.2 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.235, allocations: 87.94 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.235, allocations: 0 / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001078/0.2361, allocations: 241.4 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2361, allocations: 4 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2361, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2362, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.2366, allocations: 47.95 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2367, allocations: 3.953 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.237, allocations: 31.91 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.237, allocations: 0 / 0.9835 GB, free: 22.83 MB / 0.6198 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.0001318/0.2372, allocations: 125.8 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.2372, allocations: 15.81 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.2373, allocations: 16.72 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2373, allocations: 0 / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2373, allocations: 4 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.2373, allocations: 7.938 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.2376, allocations: 225.6 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2376, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.2381, allocations: 51.89 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2381, allocations: 0 / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.2381, allocations: 11.98 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2381, allocations: 0 / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.2381, allocations: 0 / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.2393, allocations: 343.4 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.2393, allocations: 88.92 kB / 0.9844 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.2394, allocations: 0 / 0.9844 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.2397, allocations: 27.97 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.2399, allocations: 31.95 kB / 0.9844 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.2399, allocations: 8 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.881e-05/0.24, allocations: 115.8 kB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.24, allocations: 0 / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003281/0.2404, allocations: 23.94 kB / 0.9846 GB, free: 21.67 MB / 0.6198 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.0001329/0.2405, allocations: 103.2 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.2416, allocations: 203.8 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2416, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/0.2421, allocations: 119.9 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.2426, allocations: 11.98 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/0.2433, allocations: 261.3 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.2435, allocations: 0.7043 MB / 0.9859 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.2437, allocations: 28.41 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.2438, allocations: 23.42 kB / 0.986 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of SimCode: time 2.425e-06/0.2438, allocations: 0 / 0.986 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.006039/0.2499, allocations: 1.975 MB / 0.9879 GB, free: 18.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)