Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 187.9 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.464/2.464, allocations: 205.4 MB / 0.5766 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 93.97 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 15.59 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002311/0.2129, allocations: 1.463 MB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.2149, allocations: 0.9183 MB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.2151, allocations: 11.94 kB / 0.9012 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.2154, allocations: 43.88 kB / 0.9013 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.2157, allocations: 63.8 kB / 0.9013 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.2165, allocations: 171.2 kB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2168, allocations: 83.83 kB / 0.9016 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2169, allocations: 21.09 kB / 0.9016 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.217, allocations: 55.77 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.2172, allocations: 51.81 kB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2172, allocations: 4 kB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.2174, allocations: 39.92 kB / 0.9017 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.2175, allocations: 35.89 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.2175, allocations: 45.64 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.2178, allocations: 151.6 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2178, allocations: 0 / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2178, allocations: 4 kB / 0.902 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2178, allocations: 0 / 0.902 GB, free: 62.81 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006449/0.2185, allocations: 464.3 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2185, allocations: 8.031 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.2186, allocations: 19.77 kB / 0.9024 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.2189, allocations: 243.8 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.219, allocations: 4 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.219, allocations: 4 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.2193, allocations: 96.17 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2193, allocations: 0 / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2193, allocations: 0 / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.2194, allocations: 15.92 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2195, allocations: 35.92 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.2201, allocations: 360.6 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.2205, allocations: 82.67 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2205, allocations: 3.984 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.2208, allocations: 83.44 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 3.056e-06/0.2208, allocations: 0 / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005095/0.2213, allocations: 214.6 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2214, allocations: 110.8 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.2217, allocations: 263.7 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2217, allocations: 29.7 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.2218, allocations: 120.1 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.2219, allocations: 23.73 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.2219, allocations: 0 / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.222, allocations: 326.8 kB / 0.9043 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2221, allocations: 31.98 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2222, allocations: 68.22 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.2224, allocations: 27.98 kB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2224, allocations: 0 / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003187/0.2227, allocations: 113.4 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2228, allocations: 11.98 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2228, allocations: 3.984 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2228, allocations: 4 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.223, allocations: 12 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.223, allocations: 400 / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.2231, allocations: 11.98 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2231, allocations: 4 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.2233, allocations: 137.8 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.2233, allocations: 19.81 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.2234, allocations: 21.36 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.2234, allocations: 7.984 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2234, allocations: 3.938 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2234, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.2237, allocations: 225.4 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2237, allocations: 0 / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.2237, allocations: 8 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2238, allocations: 4 kB / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2238, allocations: 0 / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2238, allocations: 11.92 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2238, allocations: 4 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2241, allocations: 136.9 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.2243, allocations: 100.8 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.2243, allocations: 4 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.2244, allocations: 0 / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.2245, allocations: 16.12 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2245, allocations: 7.984 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002258/0.2248, allocations: 208.2 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2248, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003515/0.2251, allocations: 35.98 kB / 0.9055 GB, free: 58.76 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.2264, allocations: 422.9 kB / 0.9059 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.2268, allocations: 67.95 kB / 0.906 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2268, allocations: 0 / 0.906 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.2269, allocations: 43.98 kB / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.2274, allocations: 33.97 kB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.228, allocations: 314 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2283, allocations: 0.7243 MB / 0.9071 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.2285, allocations: 21.38 kB / 0.9071 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.2285, allocations: 27.42 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of SimCode: time 9.92e-07/0.2286, allocations: 3.938 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.007514/0.2361, allocations: 2.351 MB / 0.9094 GB, free: 54.9 MB / 0.6042 GB