Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009944/0.0009948, allocations: 186.3 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 0.5786 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008298/0.0008301, allocations: 75.7 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 11.7 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1972, allocations: 106.3 MB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001422/0.1987, allocations: 1.276 MB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003834/0.1991, allocations: 216.2 kB / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.1992, allocations: 0 / 0.9029 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.555e-05/0.1993, allocations: 11.94 kB / 0.9029 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1994, allocations: 11.91 kB / 0.9029 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.1995, allocations: 55.89 kB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1997, allocations: 123.7 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1998, allocations: 40.72 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.1999, allocations: 55.75 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2, allocations: 59.75 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.2, allocations: 4 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.2, allocations: 11.94 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.2001, allocations: 31.89 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.2002, allocations: 69.42 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.12e-05/0.2003, allocations: 99.75 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2003, allocations: 0 / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2003, allocations: 0 / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2003, allocations: 0 / 0.9035 GB, free: 61.38 MB / 0.6042 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.0006809/0.201, allocations: 435.3 kB / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.201, allocations: 12.03 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.2011, allocations: 12.75 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2012, allocations: 208.6 kB / 0.9041 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2012, allocations: 8.375 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2013, allocations: 8.375 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.2017, allocations: 175.9 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2017, allocations: 0 / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2017, allocations: 3.938 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2017, allocations: 7.984 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.2022, allocations: 191.8 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.2028, allocations: 420.3 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007908/0.2036, allocations: 190.4 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.2038, allocations: 101 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2039, allocations: 0 / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.2039, allocations: 42.55 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.2039, allocations: 0 / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000874/0.2048, allocations: 321.3 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.2048, allocations: 55.34 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.2049, allocations: 151 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2049, allocations: 29.7 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.205, allocations: 107.9 kB / 0.9058 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.205, allocations: 27.59 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.205, allocations: 4 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.2051, allocations: 322.8 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.2053, allocations: 87.92 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.2056, allocations: 95.92 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.2061, allocations: 185.3 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2061, allocations: 3.938 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005532/0.2066, allocations: 245.3 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2067, allocations: 4 kB / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2067, allocations: 0 / 0.9068 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2067, allocations: 3.938 kB / 0.9068 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.207, allocations: 47.95 kB / 0.9068 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.207, allocations: 3.938 kB / 0.9068 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2072, allocations: 31.88 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2072, allocations: 3.984 kB / 0.9069 GB, free: 57.68 MB / 0.6042 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.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 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 7.825e-05/0.2073, allocations: 125.8 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.2073, allocations: 7.906 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.2074, allocations: 24.64 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2074, allocations: 4 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2074, allocations: 0 / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2074, allocations: 4 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2076, allocations: 233.5 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2076, allocations: 0 / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.2078, allocations: 47.95 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2078, allocations: 0 / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2079, allocations: 11.92 kB / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2079, allocations: 0 / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2079, allocations: 0 / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.2084, allocations: 339.1 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.2085, allocations: 85.02 kB / 0.9077 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2085, allocations: 3.938 kB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.2087, allocations: 27.97 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.2088, allocations: 39.89 kB / 0.9078 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.2088, allocations: 4 kB / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.2089, allocations: 115.2 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2089, allocations: 0 / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002176/0.2091, allocations: 23.94 kB / 0.9079 GB, free: 56.51 MB / 0.6042 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.0001052/0.2092, allocations: 103.2 kB / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.2098, allocations: 203.8 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2098, allocations: 0 / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2101, allocations: 115.9 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2103, allocations: 11.98 kB / 0.9083 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.2108, allocations: 310.8 kB / 0.9086 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.2109, allocations: 0.7082 MB / 0.9093 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.2111, allocations: 19.42 kB / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2111, allocations: 0 / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.002583/0.2136, allocations: 1.807 MB / 0.9111 GB, free: 53.19 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)