Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 252 MB / 267.6 MB, free: 10.96 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.00106/0.001059, allocations: 177.8 kB / 327.3 MB, free: 2.207 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.804/1.804, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0008107/0.0008108, allocations: 85.98 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003559, allocations: 10.62 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001984/0.2183, allocations: 1.47 MB / 0.9023 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2196, allocations: 0.9454 MB / 0.9032 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.2198, allocations: 3.938 kB / 0.9032 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.2201, allocations: 47.88 kB / 0.9032 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.2202, allocations: 71.73 kB / 0.9033 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.2207, allocations: 169.2 kB / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.2209, allocations: 123.6 kB / 0.9036 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.221, allocations: 13.11 kB / 0.9036 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.2211, allocations: 63.7 kB / 0.9037 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.2212, allocations: 51.77 kB / 0.9037 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.2212, allocations: 0 / 0.9037 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2213, allocations: 51.97 kB / 0.9038 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.2214, allocations: 35.89 kB / 0.9038 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.2214, allocations: 49.58 kB / 0.9038 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2216, allocations: 151.9 kB / 0.904 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2216, allocations: 0 / 0.904 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2216, allocations: 0 / 0.904 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2216, allocations: 0 / 0.904 GB, free: 61.01 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.0005387/0.2222, allocations: 468.3 kB / 0.9044 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2222, allocations: 8.031 kB / 0.9044 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.2223, allocations: 19.77 kB / 0.9045 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.2226, allocations: 247.6 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2226, allocations: 4 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.2226, allocations: 4 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2228, allocations: 92.23 kB / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2228, allocations: 0 / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2228, allocations: 4 kB / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.2228, allocations: 7.984 kB / 0.9048 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.2229, allocations: 35.88 kB / 0.9048 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.2234, allocations: 356.7 kB / 0.9052 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.2236, allocations: 90.7 kB / 0.9053 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.2237, allocations: 28.84 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.2237, allocations: 11.92 kB / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.2239, allocations: 87.31 kB / 0.9054 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2239, allocations: 0 / 0.9054 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0003089/0.2242, allocations: 149.4 kB / 0.9055 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.2243, allocations: 102.8 kB / 0.9056 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.2245, allocations: 263 kB / 0.9059 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2245, allocations: 29.7 kB / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.2246, allocations: 116 kB / 0.906 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.2246, allocations: 19.75 kB / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.2246, allocations: 0 / 0.906 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.2247, allocations: 330.8 kB / 0.9063 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.2247, allocations: 27.98 kB / 0.9064 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.2248, allocations: 68.28 kB / 0.9064 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/0.2249, allocations: 35.92 kB / 0.9065 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2249, allocations: 0 / 0.9065 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.2251, allocations: 105.5 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2251, allocations: 15.98 kB / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2251, allocations: 0 / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2252, allocations: 0 / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2253, allocations: 23.92 kB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2253, allocations: 3.938 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2254, allocations: 7.906 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2254, allocations: 4 kB / 0.9066 GB, free: 58.03 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.0001042/0.2255, allocations: 137.8 kB / 0.9068 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.2255, allocations: 19.8 kB / 0.9068 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.2256, allocations: 25.36 kB / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.2256, allocations: 0 / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2256, allocations: 0 / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.2256, allocations: 4 kB / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.2258, allocations: 225.5 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2258, allocations: 0 / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.2258, allocations: 4 kB / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2258, allocations: 0 / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2258, allocations: 4 kB / 0.907 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2259, allocations: 3.953 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2259, allocations: 4 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.2261, allocations: 141 kB / 0.9072 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.2261, allocations: 100.9 kB / 0.9073 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.2261, allocations: 3.938 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.2262, allocations: 4 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2263, allocations: 19.94 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.2263, allocations: 4 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001372/0.2264, allocations: 204.1 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2264, allocations: 0 / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002486/0.2267, allocations: 36 kB / 0.9075 GB, free: 57.01 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.0008228/0.2275, allocations: 418.9 kB / 0.9079 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.2277, allocations: 71.91 kB / 0.908 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2278, allocations: 0 / 0.908 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.2278, allocations: 39.91 kB / 0.908 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2281, allocations: 34.39 kB / 0.9081 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.2286, allocations: 343.7 kB / 0.9084 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.2287, allocations: 0.7243 MB / 0.9091 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2288, allocations: 19.42 kB / 0.9091 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2288, allocations: 0 / 0.9091 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.003692/0.2325, allocations: 2.573 MB / 0.9116 GB, free: 52.92 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)