Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.622/2.622, allocations: 287.3 MB / 302.3 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 186.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 102.7 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 12.67 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002255/0.211, allocations: 1.455 MB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.213, allocations: 0.9184 MB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2131, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.2135, allocations: 47.81 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.2137, allocations: 71.77 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.2145, allocations: 167.5 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.2147, allocations: 87.81 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2149, allocations: 21.11 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.215, allocations: 55.75 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2151, allocations: 51.77 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2152, allocations: 4 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.2153, allocations: 51.84 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.2154, allocations: 35.89 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.2155, allocations: 49.64 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2157, allocations: 140 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2158, allocations: 0 / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.627e-06/0.2158, allocations: 0 / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2158, allocations: 3.938 kB / 0.9812 GB, free: 25.22 MB / 0.6198 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.0006611/0.2165, allocations: 468.3 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2165, allocations: 20.02 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.2166, allocations: 19.77 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.2169, allocations: 235.7 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.217, allocations: 7.984 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.217, allocations: 4 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.2172, allocations: 96.17 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2173, allocations: 0 / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2173, allocations: 4 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.2173, allocations: 0 / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2175, allocations: 39.92 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.2181, allocations: 356.6 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2185, allocations: 86.66 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.2185, allocations: 8 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.2188, allocations: 83.42 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.945e-06/0.2188, allocations: 0 / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005335/0.2194, allocations: 218.6 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.2194, allocations: 106.8 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.2197, allocations: 263.7 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2198, allocations: 29.7 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.2199, allocations: 116.1 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.2199, allocations: 15.72 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.2199, allocations: 4 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.22, allocations: 326.8 kB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2201, allocations: 27.98 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.2203, allocations: 72.2 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.2204, allocations: 39.92 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2204, allocations: 0 / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003105/0.2207, allocations: 117.7 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2208, allocations: 11.95 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2208, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2208, allocations: 0 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.221, allocations: 15.98 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.221, allocations: 0 / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2211, allocations: 11.97 kB / 0.9839 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2212, allocations: 4 kB / 0.9839 GB, free: 22.19 MB / 0.6198 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.0001609/0.2213, allocations: 143.7 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.2214, allocations: 15.81 kB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.2214, allocations: 25.34 kB / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.2215, allocations: 0 / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2215, allocations: 0 / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2215, allocations: 4 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.2217, allocations: 225.6 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2218, allocations: 0 / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.2218, allocations: 7.984 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2219, allocations: 0 / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2219, allocations: 4 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2219, allocations: 3.953 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2219, allocations: 48 / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.2222, allocations: 148.8 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.2223, allocations: 100.9 kB / 0.9846 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.2224, allocations: 4 kB / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2225, allocations: 4 kB / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.2226, allocations: 11.94 kB / 0.9846 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2226, allocations: 4 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002256/0.2229, allocations: 196.4 kB / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2229, allocations: 0 / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003542/0.2232, allocations: 36 kB / 0.9848 GB, free: 21.19 MB / 0.6198 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.001258/0.2245, allocations: 442.1 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.2249, allocations: 67.91 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2249, allocations: 0 / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.225, allocations: 31.98 kB / 0.9853 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2254, allocations: 33.28 kB / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.2261, allocations: 310.3 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.2263, allocations: 0.7321 MB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.2264, allocations: 25.38 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.2265, allocations: 19.44 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.2265, allocations: 3.938 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.007382/0.2339, allocations: 2.356 MB / 0.9887 GB, free: 17.3 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)