Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7804/0.7804, allocations: 133.7 MB / 148.6 MB, free: 13.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001583/0.001583, allocations: 179 kB / 180.9 MB, free: 15.11 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.713/1.713, allocations: 170.7 MB / 383.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001611, allocations: 109.2 kB / 454.6 MB, free: 9.711 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1762/0.1767, allocations: 73.4 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5717/0.7485, allocations: 102.4 MB / 0.7811 GB, free: 24.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.7488, allocations: 72.27 kB / 0.7812 GB, free: 24.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006332/0.7551, allocations: 2.279 MB / 0.7834 GB, free: 22.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7551, allocations: 4 kB / 0.7834 GB, free: 22.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.7552, allocations: 0 / 0.7834 GB, free: 22.76 MB / 490.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.0003408/0.7555, allocations: 391.9 kB / 0.7838 GB, free: 22.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7555, allocations: 8.562 kB / 0.7838 GB, free: 22.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.7556, allocations: 7.906 kB / 0.7838 GB, free: 22.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7557, allocations: 187.2 kB / 0.784 GB, free: 22.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.7558, allocations: 4 kB / 0.784 GB, free: 22.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.7558, allocations: 4.812 kB / 0.784 GB, free: 22.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.7559, allocations: 75.23 kB / 0.7841 GB, free: 22.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.7559, allocations: 0 / 0.7841 GB, free: 22.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.756, allocations: 3.828 kB / 0.7841 GB, free: 22.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.756, allocations: 4 kB / 0.7841 GB, free: 22.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.756, allocations: 26.55 kB / 0.7841 GB, free: 22.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.7563, allocations: 283.4 kB / 0.7844 GB, free: 21.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.7565, allocations: 72.14 kB / 0.7845 GB, free: 21.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.7565, allocations: 7.938 kB / 0.7845 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.7566, allocations: 77.28 kB / 0.7845 GB, free: 21.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.7566, allocations: 0 / 0.7845 GB, free: 21.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002991/0.7569, allocations: 230.3 kB / 0.7848 GB, free: 21.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.757, allocations: 52.86 kB / 0.7848 GB, free: 21.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.757, allocations: 114.8 kB / 0.7849 GB, free: 21.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.7571, allocations: 33.7 kB / 0.785 GB, free: 21.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.7571, allocations: 89.03 kB / 0.785 GB, free: 21.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.7571, allocations: 15.33 kB / 0.7851 GB, free: 21.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.7571, allocations: 3.312 kB / 0.7851 GB, free: 21.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.7572, allocations: 316.6 kB / 0.7854 GB, free: 20.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.979e-05/0.7572, allocations: 27.03 kB / 0.7854 GB, free: 20.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.7573, allocations: 27.83 kB / 0.7854 GB, free: 20.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.7573, allocations: 61.16 kB / 0.7855 GB, free: 20.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7573, allocations: 0 / 0.7855 GB, free: 20.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000149/0.7575, allocations: 163.3 kB / 0.7856 GB, free: 20.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.7575, allocations: 37.52 kB / 0.7857 GB, free: 20.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7575, allocations: 1.328 kB / 0.7857 GB, free: 20.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.7576, allocations: 0 / 0.7857 GB, free: 20.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.6e-05/0.7576, allocations: 5.828 kB / 0.7857 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7576, allocations: 0 / 0.7857 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.7576, allocations: 3.984 kB / 0.7857 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.7577, allocations: 4 kB / 0.7857 GB, free: 20.48 MB / 490.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 6.108e-05/0.7577, allocations: 131.6 kB / 0.7858 GB, free: 20.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.7577, allocations: 3.906 kB / 0.7858 GB, free: 20.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.7578, allocations: 14.53 kB / 0.7858 GB, free: 20.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7578, allocations: 3.938 kB / 0.7858 GB, free: 20.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7578, allocations: 0 / 0.7858 GB, free: 20.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7578, allocations: 4 kB / 0.7858 GB, free: 20.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.273e-05/0.7579, allocations: 165.3 kB / 0.786 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7579, allocations: 4 kB / 0.786 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-06/0.7579, allocations: 0 / 0.786 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.7579, allocations: 0 / 0.786 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7579, allocations: 12.22 kB / 0.786 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.758, allocations: 7.953 kB / 0.786 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.758, allocations: 0 / 0.786 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.7581, allocations: 142.5 kB / 0.7861 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.7582, allocations: 81.11 kB / 0.7862 GB, free: 19.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.7582, allocations: 4.594 kB / 0.7862 GB, free: 19.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.347e-05/0.7582, allocations: 5.5 kB / 0.7862 GB, free: 19.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.7583, allocations: 4.984 kB / 0.7862 GB, free: 19.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.7583, allocations: 11.66 kB / 0.7862 GB, free: 19.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.108e-05/0.7583, allocations: 102 kB / 0.7863 GB, free: 19.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7583, allocations: 4 kB / 0.7863 GB, free: 19.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.7586, allocations: 26.11 kB / 0.7864 GB, free: 19.77 MB / 490.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.0001837/0.7588, allocations: 135.7 kB / 0.7865 GB, free: 19.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.7589, allocations: 122.8 kB / 0.7866 GB, free: 19.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7589, allocations: 0 / 0.7866 GB, free: 19.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.759, allocations: 39.55 kB / 0.7867 GB, free: 19.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.992e-05/0.7591, allocations: 8.453 kB / 0.7867 GB, free: 19.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.7594, allocations: 173.2 kB / 0.7868 GB, free: 19.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.7596, allocations: 0.6958 MB / 0.7875 GB, free: 18.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.764e-05/0.7596, allocations: 5.562 kB / 0.7875 GB, free: 18.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.7596, allocations: 7.438 kB / 0.7875 GB, free: 18.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7596, allocations: 4 kB / 0.7875 GB, free: 18.6 MB / 490.7 MB Notification: Performance of Templates: time 0.003036/0.7627, allocations: 0.8344 MB / 0.7883 GB, free: 18.11 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)