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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001316/0.001316, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.73/1.73, allocations: 205.1 MB / 222 MB, free: 4.746 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.919/1.919, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001427/0.001427, allocations: 67.7 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.224, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002616/0.2266, allocations: 0.907 MB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.228, allocations: 0.8983 MB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2281, allocations: 0 / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2283, allocations: 7.875 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.2285, allocations: 11.92 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2287, allocations: 55.88 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.229, allocations: 127.7 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.2292, allocations: 41.11 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2293, allocations: 47.83 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.2295, allocations: 75.66 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.2296, allocations: 8 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.2296, allocations: 8 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.2297, allocations: 39.83 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.2298, allocations: 47.66 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.23, allocations: 131.8 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.23, allocations: 0 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.23, allocations: 0 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.23, allocations: 4 kB / 0.785 GB, free: 11.59 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.001042/0.231, allocations: 446.9 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2311, allocations: 8.031 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.2312, allocations: 16.75 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2314, allocations: 204.6 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.2315, allocations: 12.31 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.2315, allocations: 8.375 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.232, allocations: 160.5 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.232, allocations: 0 / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.232, allocations: 0 / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2321, allocations: 4 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.2326, allocations: 155.8 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.2334, allocations: 420.4 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008567/0.2343, allocations: 170.5 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.2346, allocations: 84.86 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.2346, allocations: 4 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2346, allocations: 38.56 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2346, allocations: 0 / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009445/0.2356, allocations: 277.2 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.2356, allocations: 55.34 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2358, allocations: 153 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2358, allocations: 29.7 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.2359, allocations: 100 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.236, allocations: 35.53 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.236, allocations: 30.08 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2362, allocations: 326.8 kB / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.2365, allocations: 79.86 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.2368, allocations: 75.86 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.2373, allocations: 156.7 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2373, allocations: 0 / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006002/0.2379, allocations: 201.4 kB / 0.7881 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2379, allocations: 4 kB / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2379, allocations: 0 / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.238, allocations: 7.922 kB / 0.7881 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.2382, allocations: 35.95 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2383, allocations: 7.938 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2384, allocations: 23.91 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.2385, allocations: 4 kB / 0.7882 GB, free: 8.09 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.0001242/0.2387, allocations: 125.8 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.2387, allocations: 19.8 kB / 0.7883 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.2388, allocations: 20.66 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2388, allocations: 0 / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2388, allocations: 0 / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2388, allocations: 3.984 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.2391, allocations: 233.6 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2391, allocations: 0 / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.2393, allocations: 39.95 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2393, allocations: 0 / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.2394, allocations: 3.938 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2394, allocations: 4.281 kB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2394, allocations: 0 / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.24, allocations: 307.2 kB / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.2401, allocations: 85.02 kB / 0.789 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.2401, allocations: 11.92 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2403, allocations: 19.97 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2404, allocations: 31.97 kB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2404, allocations: 3.984 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.914e-05/0.2405, allocations: 114.1 kB / 0.7892 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2406, allocations: 3.938 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002712/0.2408, allocations: 31.84 kB / 0.7892 GB, free: 6.957 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.000152/0.241, allocations: 99.23 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006357/0.2416, allocations: 171.8 kB / 0.7895 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2416, allocations: 0 / 0.7895 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.2419, allocations: 95.91 kB / 0.7896 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2423, allocations: 27.02 kB / 0.7896 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.2429, allocations: 279.7 kB / 0.7899 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.2433, allocations: 0.7083 MB / 0.7906 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.2434, allocations: 20.42 kB / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.2435, allocations: 19.42 kB / 0.7906 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.2435, allocations: 0 / 0.7906 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.005395/0.2489, allocations: 2.041 MB / 0.7926 GB, free: 3.469 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)