Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.000932, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 189.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 69.72 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2029, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003162/0.2061, allocations: 1.828 MB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2076, allocations: 1.007 MB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.2077, allocations: 0 / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.208, allocations: 63.69 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.2083, allocations: 79.72 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.2088, allocations: 179.7 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.209, allocations: 143.6 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.2092, allocations: 17.12 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2093, allocations: 63.77 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.2094, allocations: 79.67 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.2094, allocations: 8 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.2096, allocations: 59.97 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.2096, allocations: 43.83 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.2097, allocations: 63.61 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.21, allocations: 195.7 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.21, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.21, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.21, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 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.0005653/0.2106, allocations: 492.3 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2106, allocations: 8.031 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.2107, allocations: 20.69 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.2109, allocations: 252.9 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.2109, allocations: 384 / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.211, allocations: 12.12 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.2112, allocations: 88.23 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2112, allocations: 0 / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2112, allocations: 4 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.2112, allocations: 7.984 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.2113, allocations: 39.91 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.2118, allocations: 360.6 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.212, allocations: 90.7 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.2121, allocations: 32.84 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2121, allocations: 3.984 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.2123, allocations: 75.39 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.2123, allocations: 0 / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003305/0.2126, allocations: 141.4 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.2127, allocations: 106.8 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.2129, allocations: 267.4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2129, allocations: 37.64 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.213, allocations: 116 kB / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.213, allocations: 19.8 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2131, allocations: 25.7 kB / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.2132, allocations: 330.8 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.2133, allocations: 27.98 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.2134, allocations: 72.27 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2135, allocations: 69.64 kB / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2135, allocations: 0 / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.2137, allocations: 117.7 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2137, allocations: 4 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2138, allocations: 7.969 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2138, allocations: 3.984 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.2139, allocations: 12 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2139, allocations: 0 / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.2139, allocations: 11.88 kB / 0.7893 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.214, allocations: 11.97 kB / 0.7893 GB, free: 6.969 MB / 0.6075 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 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2141, allocations: 141.8 kB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.2141, allocations: 15.81 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.2141, allocations: 17.41 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2142, allocations: 7.984 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2142, allocations: 8 kB / 0.7895 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2142, allocations: 3.938 kB / 0.7895 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2144, allocations: 221.5 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2144, allocations: 0 / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2144, allocations: 7.938 kB / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2144, allocations: 0 / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2144, allocations: 4 kB / 0.7897 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2144, allocations: 0 / 0.7897 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2144, allocations: 3.984 kB / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.2147, allocations: 144.8 kB / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.2147, allocations: 93 kB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.2148, allocations: 0 / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.2148, allocations: 4 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.2149, allocations: 11.98 kB / 0.79 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2149, allocations: 7.938 kB / 0.79 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001601/0.2151, allocations: 196.8 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2151, allocations: 4 kB / 0.7902 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002489/0.2153, allocations: 39.84 kB / 0.7902 GB, free: 5.957 MB / 0.6075 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 (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.0008771/0.2162, allocations: 426.8 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.2164, allocations: 71.97 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2164, allocations: 0 / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.2165, allocations: 35.92 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.2168, allocations: 53.84 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.2173, allocations: 326.9 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2176, allocations: 0.7201 MB / 0.7918 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.666e-05/0.2177, allocations: 25.38 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.2177, allocations: 19.42 kB / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2177, allocations: 0 / 0.7918 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.005577/0.2233, allocations: 2.511 MB / 0.7943 GB, free: 1.918 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)