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.001272/0.001272, allocations: 104.5 kB / 16.36 MB, free: 6.352 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.00129/0.001291, allocations: 190.4 kB / 17.3 MB, free: 5.891 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.827/1.827, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001479/0.001479, allocations: 75.89 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2316, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002808/0.2345, allocations: 0.8474 MB / 0.7856 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2358, allocations: 0.8944 MB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.2359, allocations: 4 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2361, allocations: 11.86 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2362, allocations: 15.8 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.2364, allocations: 59.92 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.2366, allocations: 127.7 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2367, allocations: 41.09 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.2368, allocations: 63.77 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.237, allocations: 79.66 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.237, allocations: 12 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.2371, allocations: 16 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.2371, allocations: 31.91 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.2372, allocations: 55.72 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.2374, allocations: 147.4 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2374, allocations: 0 / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2374, allocations: 0 / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2375, allocations: 0 / 0.7871 GB, free: 0.7188 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.0008882/0.2383, allocations: 450.8 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2384, allocations: 8.031 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.2384, allocations: 16.75 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3633/0.6018, allocations: 201.6 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.6019, allocations: 8.469 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.6019, allocations: 7.781 kB / 0.7878 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.6024, allocations: 149.5 kB / 0.7879 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.6024, allocations: 0 / 0.7879 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.6024, allocations: 11.91 kB / 0.7879 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6025, allocations: 0 / 0.7879 GB, free: 49.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.603, allocations: 163 kB / 0.7881 GB, free: 49.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.6036, allocations: 416.4 kB / 0.7885 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.6044, allocations: 169.4 kB / 0.7887 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.6047, allocations: 87.44 kB / 0.7887 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.6047, allocations: 8.078 kB / 0.7888 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.6047, allocations: 33.28 kB / 0.7888 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.6047, allocations: 0 / 0.7888 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0009289/0.6057, allocations: 271.1 kB / 0.789 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.6057, allocations: 60.92 kB / 0.7891 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.6058, allocations: 155.9 kB / 0.7892 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6058, allocations: 26.23 kB / 0.7893 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.6059, allocations: 116.4 kB / 0.7894 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.6059, allocations: 29.62 kB / 0.7894 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.606, allocations: 30.69 kB / 0.7894 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.606, allocations: 319.3 kB / 0.7897 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.6063, allocations: 73.92 kB / 0.7898 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.6065, allocations: 81.39 kB / 0.7899 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.6071, allocations: 156.4 kB / 0.79 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6071, allocations: 2.406 kB / 0.79 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005631/0.6076, allocations: 204.4 kB / 0.7902 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6077, allocations: 5.5 kB / 0.7902 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6077, allocations: 3.375 kB / 0.7903 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.6077, allocations: 0 / 0.7903 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.6079, allocations: 44.89 kB / 0.7903 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.608, allocations: 3.938 kB / 0.7903 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.6081, allocations: 21.27 kB / 0.7903 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6082, allocations: 2.625 kB / 0.7903 GB, free: 48.26 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 9.004e-05/0.6083, allocations: 126.1 kB / 0.7904 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.6083, allocations: 13.06 kB / 0.7905 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.6083, allocations: 17.16 kB / 0.7905 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6083, allocations: 1.984 kB / 0.7905 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.6084, allocations: 3.938 kB / 0.7905 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6084, allocations: 3.766 kB / 0.7905 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.6086, allocations: 233.9 kB / 0.7907 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6086, allocations: 3.281 kB / 0.7907 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.6088, allocations: 39 kB / 0.7907 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.6088, allocations: 3.344 kB / 0.7907 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.6089, allocations: 0 / 0.7907 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6089, allocations: 1.094 kB / 0.7907 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6089, allocations: 6.562 kB / 0.7908 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.6095, allocations: 300.6 kB / 0.791 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.6095, allocations: 90.36 kB / 0.7911 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.6096, allocations: 3.938 kB / 0.7911 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.6097, allocations: 21.91 kB / 0.7911 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.6098, allocations: 35.44 kB / 0.7912 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.6099, allocations: 5.625 kB / 0.7912 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.6099, allocations: 112.8 kB / 0.7913 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6099, allocations: 0 / 0.7913 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002393/0.6102, allocations: 18.38 kB / 0.7913 GB, free: 47.62 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.000124/0.6103, allocations: 106.5 kB / 0.7914 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005752/0.6109, allocations: 174.8 kB / 0.7916 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6109, allocations: 0 / 0.7916 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.6112, allocations: 98.75 kB / 0.7917 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.6115, allocations: 13.12 kB / 0.7917 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.612, allocations: 271 kB / 0.7919 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.6121, allocations: 0.7076 MB / 0.7926 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.6122, allocations: 18.55 kB / 0.7927 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.6122, allocations: 0 / 0.7927 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.003009/0.6152, allocations: 1.822 MB / 0.7944 GB, free: 46.61 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)