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.001162/0.001167, allocations: 105.8 kB / 15.98 MB, free: 6.348 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.00117/0.00117, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.518/1.518, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.748/1.748, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001452/0.001452, allocations: 66.88 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002432/0.31, allocations: 0.9031 MB / 0.7844 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3111, allocations: 0.9022 MB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.3112, allocations: 0 / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.3114, allocations: 7.922 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3115, allocations: 11.88 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.3117, allocations: 51.94 kB / 0.7854 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.3119, allocations: 131.7 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.312, allocations: 41.09 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.3121, allocations: 55.78 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3123, allocations: 83.72 kB / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.3123, allocations: 12 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/0.3124, allocations: 12 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.3124, allocations: 35.89 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.646e-05/0.3125, allocations: 51.72 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3127, allocations: 104 kB / 0.7859 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3127, allocations: 4 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3127, allocations: 0 / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3127, allocations: 0 / 0.7859 GB, free: 11.46 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.0009266/0.3136, allocations: 442.9 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3137, allocations: 11.97 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.3137, allocations: 20.73 kB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.314, allocations: 204.7 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.314, allocations: 8.375 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.314, allocations: 4.375 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.3145, allocations: 161.6 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3145, allocations: 0 / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.3145, allocations: 0 / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3145, allocations: 7.938 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.315, allocations: 151.8 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.3158, allocations: 416.5 kB / 0.7872 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.3166, allocations: 170.7 kB / 0.7874 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.3169, allocations: 92.7 kB / 0.7875 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.317, allocations: 7.984 kB / 0.7875 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.317, allocations: 42.5 kB / 0.7875 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.317, allocations: 0 / 0.7875 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009348/0.3179, allocations: 273.2 kB / 0.7878 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.318, allocations: 59.34 kB / 0.7879 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3181, allocations: 154 kB / 0.788 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3182, allocations: 29.7 kB / 0.788 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.3183, allocations: 104 kB / 0.7881 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.3183, allocations: 27.56 kB / 0.7882 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.3184, allocations: 33.69 kB / 0.7882 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3185, allocations: 322.8 kB / 0.7885 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.3188, allocations: 79.92 kB / 0.7886 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.319, allocations: 71.92 kB / 0.7886 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.3195, allocations: 160.7 kB / 0.7888 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3195, allocations: 4 kB / 0.7888 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005748/0.3201, allocations: 194 kB / 0.789 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3202, allocations: 7.938 kB / 0.789 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3202, allocations: 96 / 0.789 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3202, allocations: 15.88 kB / 0.789 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.3204, allocations: 31.95 kB / 0.789 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3205, allocations: 7.984 kB / 0.789 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3206, allocations: 23.91 kB / 0.7891 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3207, allocations: 4 kB / 0.7891 GB, free: 7.957 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.0001168/0.3208, allocations: 118.5 kB / 0.7892 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.3208, allocations: 15.81 kB / 0.7892 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.3209, allocations: 24.64 kB / 0.7892 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3209, allocations: 0 / 0.7892 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3209, allocations: 0 / 0.7892 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3209, allocations: 0 / 0.7892 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.3212, allocations: 237.5 kB / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3212, allocations: 0 / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3215, allocations: 39.89 kB / 0.7895 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3215, allocations: 0 / 0.7895 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3215, allocations: 15.94 kB / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3215, allocations: 0 / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3215, allocations: 3.984 kB / 0.7895 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.3222, allocations: 299.2 kB / 0.7898 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.3222, allocations: 81.02 kB / 0.7899 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3223, allocations: 11.94 kB / 0.7899 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3225, allocations: 15.97 kB / 0.7899 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3226, allocations: 35.95 kB / 0.7899 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3226, allocations: 0 / 0.7899 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.3227, allocations: 115.2 kB / 0.79 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3227, allocations: 3.938 kB / 0.79 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000249/0.323, allocations: 27.84 kB / 0.7901 GB, free: 6.836 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.0001545/0.3231, allocations: 107.2 kB / 0.7902 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006026/0.3237, allocations: 171.9 kB / 0.7903 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3237, allocations: 192 / 0.7903 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.324, allocations: 99.8 kB / 0.7904 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3243, allocations: 19.98 kB / 0.7904 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.325, allocations: 307.7 kB / 0.7907 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3253, allocations: 0.7041 MB / 0.7914 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.3254, allocations: 19.42 kB / 0.7914 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.3254, allocations: 4 kB / 0.7914 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of Templates: time 0.003608/0.329, allocations: 1.827 MB / 0.7932 GB, free: 3.543 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)