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.7167/0.7167, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001129/0.001129, allocations: 178.9 kB / 176.9 MB, free: 2.234 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.345/1.345, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.00153/0.00153, allocations: 106.3 kB / 450 MB, free: 5.855 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.4746/0.4747, allocations: 73.38 MB / 0.6736 GB, free: 47.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.6047, allocations: 102.3 MB / 0.7735 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.6049, allocations: 70.31 kB / 0.7735 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006664/0.6116, allocations: 2.277 MB / 0.7758 GB, free: 12.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6116, allocations: 0 / 0.7758 GB, free: 12.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.6117, allocations: 4 kB / 0.7758 GB, free: 12.12 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.0003624/0.612, allocations: 382.7 kB / 0.7761 GB, free: 11.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6121, allocations: 8.031 kB / 0.7761 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.6121, allocations: 7.906 kB / 0.7762 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.6123, allocations: 183.4 kB / 0.7763 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.6123, allocations: 8 kB / 0.7763 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.6123, allocations: 0 / 0.7763 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6125, allocations: 68.3 kB / 0.7764 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.6125, allocations: 0 / 0.7764 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6125, allocations: 11.59 kB / 0.7764 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.6125, allocations: 7.938 kB / 0.7764 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/0.6126, allocations: 20 kB / 0.7764 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.6129, allocations: 276.9 kB / 0.7767 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.613, allocations: 62.5 kB / 0.7768 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.6131, allocations: 32.91 kB / 0.7768 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.6131, allocations: 4 kB / 0.7768 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.6132, allocations: 75.39 kB / 0.7769 GB, free: 10.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.6132, allocations: 4 kB / 0.7769 GB, free: 10.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002257/0.6135, allocations: 121.5 kB / 0.777 GB, free: 10.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.6135, allocations: 55.39 kB / 0.777 GB, free: 10.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.6136, allocations: 110.9 kB / 0.7771 GB, free: 10.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.6136, allocations: 33.7 kB / 0.7772 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.6137, allocations: 92.14 kB / 0.7773 GB, free: 10.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.6137, allocations: 11.89 kB / 0.7773 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.6137, allocations: 0 / 0.7773 GB, free: 10.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6138, allocations: 314.8 kB / 0.7776 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.6139, allocations: 29.11 kB / 0.7776 GB, free: 10.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.6139, allocations: 27.98 kB / 0.7776 GB, free: 10.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.614, allocations: 58.25 kB / 0.7777 GB, free: 9.945 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.614, allocations: 0 / 0.7777 GB, free: 9.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002041/0.6142, allocations: 161.5 kB / 0.7778 GB, free: 9.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.6143, allocations: 41.7 kB / 0.7779 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6143, allocations: 0 / 0.7779 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.6143, allocations: 0 / 0.7779 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.487e-05/0.6143, allocations: 0 / 0.7779 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6143, allocations: 4 kB / 0.7779 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.6144, allocations: 3.984 kB / 0.7779 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.6144, allocations: 6.375 kB / 0.7779 GB, free: 9.719 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 () * 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 7.2e-05/0.6145, allocations: 108.9 kB / 0.778 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.6145, allocations: 15.86 kB / 0.778 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.6145, allocations: 8.625 kB / 0.778 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.6145, allocations: 4 kB / 0.778 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6145, allocations: 0 / 0.778 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6146, allocations: 3.984 kB / 0.778 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.6147, allocations: 169.7 kB / 0.7782 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6147, allocations: 0 / 0.7782 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.6147, allocations: 0 / 0.7782 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6147, allocations: 0 / 0.7782 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.6147, allocations: 7.953 kB / 0.7782 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6147, allocations: 0 / 0.7782 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6147, allocations: 4 kB / 0.7782 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.6149, allocations: 145 kB / 0.7783 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.615, allocations: 92.89 kB / 0.7784 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.615, allocations: 2.5 kB / 0.7784 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.615, allocations: 11.23 kB / 0.7784 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.6151, allocations: 7.922 kB / 0.7784 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.6151, allocations: 4 kB / 0.7785 GB, free: 9.062 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.6152, allocations: 107.3 kB / 0.7786 GB, free: 8.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6152, allocations: 0 / 0.7786 GB, free: 8.957 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.6154, allocations: 24 kB / 0.7786 GB, free: 8.934 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) * 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.0001887/0.6156, allocations: 131.2 kB / 0.7787 GB, free: 8.793 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.6158, allocations: 115.4 kB / 0.7788 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6158, allocations: 0 / 0.7788 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.6158, allocations: 35.92 kB / 0.7788 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.772e-05/0.6159, allocations: 2.297 kB / 0.7789 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.6162, allocations: 126.1 kB / 0.779 GB, free: 8.492 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.6164, allocations: 0.6926 MB / 0.7796 GB, free: 7.773 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.6165, allocations: 7.984 kB / 0.7797 GB, free: 7.766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.6165, allocations: 15.44 kB / 0.7797 GB, free: 7.75 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6165, allocations: 0 / 0.7797 GB, free: 7.75 MB / 490.7 MB Notification: Performance of Templates: time 0.00274/0.6192, allocations: 0.8463 MB / 0.7805 GB, free: 6.926 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)