Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.3 MB / 303.2 MB, free: 8.066 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.001361/0.00136, allocations: 182 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001516/0.001516, allocations: 97.88 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005601/0.0005601, allocations: 13.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2325, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7414/0.974, allocations: 142 MB / 1.118 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.9742, allocations: 83.86 kB / 1.118 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.9875, allocations: 5.401 MB / 1.123 GB, free: 31.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9875, allocations: 0 / 1.123 GB, free: 31.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.9876, allocations: 3.875 kB / 1.123 GB, free: 31.71 MB / 0.698 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.0006322/0.9882, allocations: 0.4948 MB / 1.124 GB, free: 31.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.9882, allocations: 11.67 kB / 1.124 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.9883, allocations: 15.5 kB / 1.124 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.9886, allocations: 259.8 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.9887, allocations: 0 / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.9887, allocations: 7.031 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.9889, allocations: 99.2 kB / 1.124 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.9889, allocations: 0 / 1.124 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9889, allocations: 3.688 kB / 1.124 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.9889, allocations: 0 / 1.124 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.993e-05/0.989, allocations: 42.52 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.9896, allocations: 382.9 kB / 1.125 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.9898, allocations: 99.78 kB / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.9898, allocations: 0 / 1.125 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.9899, allocations: 85.02 kB / 1.125 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.99, allocations: 0 / 1.125 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0003471/0.9903, allocations: 217.8 kB / 1.125 GB, free: 30.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.9904, allocations: 105.2 kB / 1.125 GB, free: 30.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.9906, allocations: 246.9 kB / 1.125 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.9906, allocations: 29.14 kB / 1.125 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.9907, allocations: 122.1 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.9907, allocations: 21.81 kB / 1.126 GB, free: 30.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.9907, allocations: 0 / 1.126 GB, free: 30.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9909, allocations: 330.4 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.586e-05/0.9909, allocations: 27.14 kB / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.991, allocations: 76.77 kB / 1.126 GB, free: 29.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.9911, allocations: 36.61 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9911, allocations: 0 / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.9913, allocations: 115.5 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9913, allocations: 8.219 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9913, allocations: 0 / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9914, allocations: 3.938 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.9915, allocations: 21.72 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9915, allocations: 0 / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.9915, allocations: 7.531 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.9916, allocations: 3.953 kB / 1.126 GB, free: 29.68 MB / 0.698 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.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,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.0001422/0.9917, allocations: 154.8 kB / 1.126 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.9917, allocations: 15.59 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.992, allocations: 128.3 kB / 1.126 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.992, allocations: 4 kB / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.992, allocations: 0 / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.992, allocations: 0 / 1.126 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.9922, allocations: 244.6 kB / 1.127 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9922, allocations: 192 / 1.127 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.9922, allocations: 10.44 kB / 1.127 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9923, allocations: 3.938 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.9923, allocations: 3.969 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9923, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9923, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.9925, allocations: 159.8 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.9926, allocations: 98.44 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.9926, allocations: 3.75 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.9927, allocations: 6.406 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.9927, allocations: 9.922 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.9927, allocations: 2.578 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001671/0.9929, allocations: 200.8 kB / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9929, allocations: 4 kB / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002563/0.9932, allocations: 50.72 kB / 1.127 GB, free: 29.02 MB / 0.698 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0008611/0.9941, allocations: 440.9 kB / 1.128 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.9943, allocations: 87.39 kB / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9943, allocations: 0 / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.9944, allocations: 35.2 kB / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.9946, allocations: 47.11 kB / 1.128 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.9951, allocations: 324.8 kB / 1.128 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.9954, allocations: 0.7242 MB / 1.129 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.216e-05/0.9955, allocations: 28 kB / 1.129 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.9956, allocations: 25.12 kB / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.9956, allocations: 0 / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of Templates: time 0.004781/1, allocations: 2.487 MB / 1.131 GB, free: 27.38 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)