Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5305/0.5305, allocations: 95.61 MB / 110.6 MB, free: 9.391 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001092/0.001092, allocations: 168.4 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.256/1.256, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001707/0.001707, allocations: 119.1 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1465, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5911, allocations: 94.55 MB / 0.6043 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5914, allocations: 78.31 kB / 0.6044 GB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006818/0.5982, allocations: 2.272 MB / 0.6066 GB, free: 10.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.123e-05/0.5983, allocations: 0 / 0.6066 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.5983, allocations: 7.938 kB / 0.6066 GB, free: 10.72 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004393/0.5987, allocations: 397 kB / 0.607 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5988, allocations: 15.92 kB / 0.607 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.5988, allocations: 9.281 kB / 0.607 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.599, allocations: 182.4 kB / 0.6072 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5991, allocations: 3.984 kB / 0.6072 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5991, allocations: 4 kB / 0.6072 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.5993, allocations: 69.38 kB / 0.6072 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5993, allocations: 4 kB / 0.6073 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5993, allocations: 0 / 0.6073 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.5993, allocations: 0 / 0.6073 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.5994, allocations: 31.17 kB / 0.6073 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.5998, allocations: 285.1 kB / 0.6076 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.6, allocations: 65.38 kB / 0.6076 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.6, allocations: 4 kB / 0.6076 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.6002, allocations: 91.17 kB / 0.6077 GB, free: 9.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.6002, allocations: 0 / 0.6077 GB, free: 9.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004167/0.6006, allocations: 219.8 kB / 0.6079 GB, free: 9.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.6007, allocations: 58.84 kB / 0.608 GB, free: 9.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6008, allocations: 120.1 kB / 0.6081 GB, free: 9.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6008, allocations: 25.7 kB / 0.6081 GB, free: 9.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.6009, allocations: 87.33 kB / 0.6082 GB, free: 8.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.6009, allocations: 15.22 kB / 0.6082 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/0.6009, allocations: 0 / 0.6082 GB, free: 8.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.601, allocations: 322.2 kB / 0.6085 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.6011, allocations: 31.3 kB / 0.6085 GB, free: 8.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.6011, allocations: 27.42 kB / 0.6086 GB, free: 8.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.6012, allocations: 64.78 kB / 0.6086 GB, free: 8.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6012, allocations: 0 / 0.6086 GB, free: 8.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002251/0.6015, allocations: 152.6 kB / 0.6088 GB, free: 8.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.6015, allocations: 33.7 kB / 0.6088 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6015, allocations: 4 kB / 0.6088 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6015, allocations: 0 / 0.6088 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/0.6016, allocations: 7.922 kB / 0.6088 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6016, allocations: 0 / 0.6088 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.6016, allocations: 7.312 kB / 0.6088 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6017, allocations: 4 kB / 0.6088 GB, free: 8.309 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,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 (6): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 1 * 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 9.75e-05/0.6018, allocations: 120.1 kB / 0.6089 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.6018, allocations: 15.84 kB / 0.609 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.6018, allocations: 12.38 kB / 0.609 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6018, allocations: 0 / 0.609 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6018, allocations: 0 / 0.609 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6018, allocations: 0 / 0.609 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.602, allocations: 172.7 kB / 0.6091 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.602, allocations: 3.984 kB / 0.6091 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-06/0.602, allocations: 0 / 0.6091 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.602, allocations: 4 kB / 0.6091 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.6021, allocations: 7.766 kB / 0.6092 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6021, allocations: 0 / 0.6092 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6021, allocations: 0 / 0.6092 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.6023, allocations: 154.1 kB / 0.6093 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.6024, allocations: 85.09 kB / 0.6094 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.6024, allocations: 3.984 kB / 0.6094 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.6024, allocations: 11.95 kB / 0.6094 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.6025, allocations: 0 / 0.6094 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6025, allocations: 11.48 kB / 0.6094 GB, free: 7.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.08e-05/0.6026, allocations: 98.89 kB / 0.6095 GB, free: 7.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6026, allocations: 4 kB / 0.6095 GB, free: 7.562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.6028, allocations: 31.98 kB / 0.6095 GB, free: 7.531 MB / 410.7 MB 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.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002326/0.6031, allocations: 126.8 kB / 0.6097 GB, free: 7.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.6033, allocations: 125.3 kB / 0.6098 GB, free: 7.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6033, allocations: 0 / 0.6098 GB, free: 7.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.6034, allocations: 39.48 kB / 0.6098 GB, free: 7.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.6035, allocations: 1.562 kB / 0.6098 GB, free: 7.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.6039, allocations: 184.2 kB / 0.61 GB, free: 7.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.6042, allocations: 0.6962 MB / 0.6107 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.291e-05/0.6042, allocations: 0 / 0.6107 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.6042, allocations: 11.44 kB / 0.6107 GB, free: 6.32 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6042, allocations: 0 / 0.6107 GB, free: 6.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003184/0.6074, allocations: 0.8453 MB / 0.6115 GB, free: 5.492 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)