Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.317/2.317, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001266/0.001266, allocations: 171.4 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.363/2.363, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0008578/0.0008577, allocations: 90.97 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007418/0.000742, allocations: 13.72 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2312, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002295/0.2335, allocations: 1.462 MB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.2354, allocations: 0.9574 MB / 0.9019 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.2355, allocations: 0 / 0.9019 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.2358, allocations: 51.81 kB / 0.9019 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.2361, allocations: 63.8 kB / 0.902 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.2368, allocations: 181 kB / 0.9021 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.237, allocations: 119.7 kB / 0.9023 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2371, allocations: 17.11 kB / 0.9023 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2373, allocations: 55.7 kB / 0.9023 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2374, allocations: 59.75 kB / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2374, allocations: 0 / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.2376, allocations: 51.97 kB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.2377, allocations: 35.84 kB / 0.9025 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.2377, allocations: 53.62 kB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.238, allocations: 143.9 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.238, allocations: 4 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.238, allocations: 0 / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.238, allocations: 0 / 0.9027 GB, free: 62.28 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.00064/0.2387, allocations: 464.4 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2387, allocations: 8.031 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.2388, allocations: 16.75 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.2391, allocations: 241 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2391, allocations: 12.38 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2392, allocations: 12.06 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2394, allocations: 96.16 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2394, allocations: 3.938 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2394, allocations: 4 kB / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.2395, allocations: 0 / 0.9035 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.2396, allocations: 31.98 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.2402, allocations: 364.6 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.2405, allocations: 86.69 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2406, allocations: 32.84 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2407, allocations: 0 / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.2409, allocations: 83.38 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.455e-06/0.2409, allocations: 0 / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004958/0.2414, allocations: 141.4 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2415, allocations: 106.8 kB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.2418, allocations: 259 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2419, allocations: 29.7 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.2419, allocations: 120 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.242, allocations: 19.75 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-06/0.242, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.2421, allocations: 338.8 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2422, allocations: 23.98 kB / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2423, allocations: 64.28 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2425, allocations: 35.92 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2425, allocations: 0 / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000297/0.2428, allocations: 113.5 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2428, allocations: 4 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2428, allocations: 48 / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2429, allocations: 7.984 kB / 0.9053 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.243, allocations: 15.92 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.243, allocations: 4 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2432, allocations: 8 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2432, allocations: 11.95 kB / 0.9053 GB, free: 59.32 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.000135/0.2433, allocations: 146 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.2434, allocations: 15.81 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.2434, allocations: 17.34 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2435, allocations: 4 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2435, allocations: 3.984 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.2435, allocations: 92.86 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.2436, allocations: 11.94 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.2437, allocations: 7.984 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.2438, allocations: 4 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003263/0.2441, allocations: 189.2 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003346/0.2444, allocations: 290.6 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001177/0.2446, allocations: 35.97 kB / 0.9061 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002124/0.2448, allocations: 208.1 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of Backend: time 8.51e-07/0.2448, allocations: 0 / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.2465, allocations: 455.2 kB / 0.9067 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008031/0.2473, allocations: 0.7583 MB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.007382/0.2547, allocations: 2.399 MB / 0.9098 GB, free: 54.78 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)