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.00115/0.00115, allocations: 104.7 kB / 16.29 MB, free: 6.027 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.001253/0.001253, allocations: 185.5 kB / 17.22 MB, free: 5.633 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.685/1.685, allocations: 205.1 MB / 223.1 MB, free: 12.29 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 2.017/2.017, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001496/0.001497, allocations: 74.41 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2981, allocations: 114.5 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002344/0.3005, allocations: 0.8405 MB / 0.7849 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3016, allocations: 0.8944 MB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.3017, allocations: 4 kB / 0.7858 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3018, allocations: 11.88 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.302, allocations: 15.8 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3021, allocations: 59.92 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3023, allocations: 127.7 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.3025, allocations: 45.09 kB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.3026, allocations: 59.77 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3028, allocations: 75.72 kB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.3028, allocations: 20 kB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.789e-05/0.3028, allocations: 12 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.3029, allocations: 27.91 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.303, allocations: 67.58 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3032, allocations: 139.7 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3032, allocations: 0 / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3032, allocations: 0 / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3032, allocations: 0 / 0.7864 GB, free: 1.457 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.0009352/0.3042, allocations: 446.9 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3042, allocations: 8.031 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.3043, allocations: 16.75 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3045, allocations: 212.6 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3045, allocations: 12.36 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3045, allocations: 8.375 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.3049, allocations: 153.6 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.305, allocations: 4 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.305, allocations: 4 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.305, allocations: 4 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.3055, allocations: 147.8 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4315/0.737, allocations: 419.5 kB / 0.7878 GB, free: 49.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000886/0.7379, allocations: 171.9 kB / 0.788 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.7382, allocations: 87.66 kB / 0.788 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.7382, allocations: 6.344 kB / 0.788 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.7382, allocations: 31.88 kB / 0.7881 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 3.116e-06/0.7382, allocations: 0 / 0.7881 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000848/0.7391, allocations: 274.9 kB / 0.7883 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.7391, allocations: 62.19 kB / 0.7884 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.7393, allocations: 150.2 kB / 0.7885 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.7393, allocations: 25.7 kB / 0.7886 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.7394, allocations: 113 kB / 0.7887 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.7394, allocations: 29.23 kB / 0.7887 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.7395, allocations: 27.62 kB / 0.7887 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.7396, allocations: 325.6 kB / 0.789 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.7398, allocations: 76.38 kB / 0.7891 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.74, allocations: 73.23 kB / 0.7892 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.7405, allocations: 159.9 kB / 0.7893 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.7405, allocations: 1.969 kB / 0.7893 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005148/0.741, allocations: 206.7 kB / 0.7895 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.741, allocations: 5.906 kB / 0.7895 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7411, allocations: 3.562 kB / 0.7895 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7411, allocations: 0 / 0.7895 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.7413, allocations: 36.44 kB / 0.7896 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7413, allocations: 5.438 kB / 0.7896 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.7415, allocations: 21.23 kB / 0.7896 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.7415, allocations: 5.125 kB / 0.7896 GB, free: 48.45 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.309e-05/0.7416, allocations: 125.1 kB / 0.7897 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.7417, allocations: 13.09 kB / 0.7897 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.7417, allocations: 18.55 kB / 0.7898 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7417, allocations: 0 / 0.7898 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7417, allocations: 2.625 kB / 0.7898 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7417, allocations: 2.109 kB / 0.7898 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.742, allocations: 239.6 kB / 0.79 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.742, allocations: 0 / 0.79 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.7422, allocations: 37.2 kB / 0.79 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7422, allocations: 3.938 kB / 0.79 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.7422, allocations: 3.469 kB / 0.79 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.7422, allocations: 0.5 kB / 0.79 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7423, allocations: 2.625 kB / 0.79 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.7428, allocations: 306 kB / 0.7903 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.7429, allocations: 91.77 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.7429, allocations: 5.844 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.7431, allocations: 21.27 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.7432, allocations: 31.97 kB / 0.7905 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.7432, allocations: 3.25 kB / 0.7905 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.844e-05/0.7433, allocations: 112.4 kB / 0.7906 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7433, allocations: 3.5 kB / 0.7906 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002461/0.7435, allocations: 24.53 kB / 0.7906 GB, free: 47.82 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.0001213/0.7436, allocations: 104.3 kB / 0.7907 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.7442, allocations: 175.4 kB / 0.7909 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7442, allocations: 0 / 0.7909 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.7444, allocations: 102.6 kB / 0.791 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.7447, allocations: 15.97 kB / 0.791 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.7452, allocations: 236.9 kB / 0.7912 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.7454, allocations: 0.702 MB / 0.7919 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.928e-05/0.7455, allocations: 24.56 kB / 0.7919 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.7456, allocations: 24.12 kB / 0.7919 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7456, allocations: 0 / 0.7919 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.005122/0.7507, allocations: 2.399 MB / 0.7943 GB, free: 46.83 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)