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.001561/0.001561, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001606/0.001606, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.463/1.463, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.76/1.76, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001678/0.001678, allocations: 67.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2617, allocations: 114.5 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002256/0.264, allocations: 0.8569 MB / 0.7849 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2653, allocations: 0.8944 MB / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.2654, allocations: 0 / 0.7857 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2655, allocations: 15.81 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2656, allocations: 19.84 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.2658, allocations: 55.88 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.266, allocations: 127.7 kB / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.2662, allocations: 37.11 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.2663, allocations: 71.69 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.2664, allocations: 71.73 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.2665, allocations: 12 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.443e-05/0.2665, allocations: 12 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.2666, allocations: 39.89 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.2667, allocations: 51.72 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2668, allocations: 139.8 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2669, allocations: 0 / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2669, allocations: 0 / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2669, allocations: 0 / 0.7864 GB, free: 1.453 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.000873/0.2678, allocations: 446.9 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2678, allocations: 12.03 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.2679, allocations: 16.75 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.2681, allocations: 204.6 kB / 0.787 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2681, allocations: 8.375 kB / 0.787 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.2682, allocations: 4.375 kB / 0.787 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.2686, allocations: 153.6 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2686, allocations: 0 / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2686, allocations: 4 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2686, allocations: 11.94 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.2692, allocations: 155.8 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4205/0.6897, allocations: 413 kB / 0.7877 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.6907, allocations: 176.4 kB / 0.7879 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.691, allocations: 94.69 kB / 0.788 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.691, allocations: 6.641 kB / 0.788 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.691, allocations: 34.5 kB / 0.788 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.785e-06/0.6911, allocations: 0 / 0.788 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0008848/0.6919, allocations: 274.4 kB / 0.7883 GB, free: 49.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.692, allocations: 58.19 kB / 0.7884 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.6921, allocations: 150.5 kB / 0.7885 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.6921, allocations: 26.64 kB / 0.7885 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.6922, allocations: 106.5 kB / 0.7886 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.6922, allocations: 27.94 kB / 0.7886 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.6923, allocations: 32.83 kB / 0.7887 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/0.6923, allocations: 323.3 kB / 0.789 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.6926, allocations: 71.78 kB / 0.7891 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.6928, allocations: 80.95 kB / 0.7891 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.6933, allocations: 155 kB / 0.7893 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6933, allocations: 0 / 0.7893 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005402/0.6939, allocations: 204.7 kB / 0.7895 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6939, allocations: 9.891 kB / 0.7895 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6939, allocations: 0 / 0.7895 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6939, allocations: 3.219 kB / 0.7895 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.6942, allocations: 42.66 kB / 0.7895 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6942, allocations: 0 / 0.7895 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.6944, allocations: 23.92 kB / 0.7896 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6944, allocations: 6.047 kB / 0.7896 GB, free: 48.44 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 8.116e-05/0.6945, allocations: 124.2 kB / 0.7897 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.6945, allocations: 16.56 kB / 0.7897 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.6946, allocations: 18.47 kB / 0.7897 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6946, allocations: 0 / 0.7897 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6946, allocations: 2.75 kB / 0.7897 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6946, allocations: 4.703 kB / 0.7897 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.6948, allocations: 234.4 kB / 0.7899 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6948, allocations: 0 / 0.7899 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.695, allocations: 35.88 kB / 0.79 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.695, allocations: 5.281 kB / 0.79 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6951, allocations: 11.91 kB / 0.79 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6951, allocations: 0 / 0.79 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6951, allocations: 0.5312 kB / 0.79 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.6957, allocations: 302 kB / 0.7903 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.6957, allocations: 91 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.6957, allocations: 3.188 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.6959, allocations: 17.48 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.696, allocations: 36.16 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.6961, allocations: 3.328 kB / 0.7904 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.6961, allocations: 111.7 kB / 0.7905 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6961, allocations: 1.031 kB / 0.7905 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002368/0.6964, allocations: 28.95 kB / 0.7906 GB, free: 47.81 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.0001103/0.6965, allocations: 103.8 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006021/0.6971, allocations: 173.8 kB / 0.7908 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6971, allocations: 7.688 kB / 0.7908 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.6974, allocations: 93.95 kB / 0.7909 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.6977, allocations: 19.34 kB / 0.7909 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.6982, allocations: 262.8 kB / 0.7912 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.6984, allocations: 0.7066 MB / 0.7919 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.6985, allocations: 22.16 kB / 0.7919 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6985, allocations: 0 / 0.7919 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.003031/0.7015, allocations: 1.825 MB / 0.7937 GB, free: 46.8 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)