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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1853/0.1874, allocations: 80.83 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00321/0.1906, allocations: 1.756 MB / 0.6723 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1923, allocations: 1.006 MB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.1924, allocations: 4 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.1929, allocations: 63.67 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.1933, allocations: 71.67 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.194, allocations: 198.9 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.1943, allocations: 151.6 kB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1945, allocations: 17.11 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1946, allocations: 71.69 kB / 0.6739 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1948, allocations: 67.62 kB / 0.6739 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1948, allocations: 8 kB / 0.6739 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.195, allocations: 71.95 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1952, allocations: 43.89 kB / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.692e-05/0.1953, allocations: 51.62 kB / 0.6741 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.1957, allocations: 203.2 kB / 0.6743 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1958, allocations: 3.938 kB / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1958, allocations: 0 / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1958, allocations: 0 / 0.6743 GB, free: 14.2 MB / 0.5137 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.0007421/0.1965, allocations: 496.1 kB / 0.6748 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1966, allocations: 8.031 kB / 0.6748 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.1967, allocations: 20.84 kB / 0.6748 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.197, allocations: 260.7 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1971, allocations: 4 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1971, allocations: 4 kB / 0.6751 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1973, allocations: 88.23 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1973, allocations: 0 / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1974, allocations: 7.938 kB / 0.6751 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1974, allocations: 7.984 kB / 0.6752 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.1975, allocations: 35.98 kB / 0.6752 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.1981, allocations: 356.6 kB / 0.6755 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.1984, allocations: 86.69 kB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.1985, allocations: 36.78 kB / 0.6756 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1986, allocations: 4 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.1988, allocations: 79.38 kB / 0.6757 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.1988, allocations: 0 / 0.6757 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004372/0.1992, allocations: 145.5 kB / 0.6759 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.1993, allocations: 106.8 kB / 0.676 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.1997, allocations: 270.8 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1998, allocations: 29.7 kB / 0.6763 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.1999, allocations: 116.1 kB / 0.6764 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1999, allocations: 19.89 kB / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.2, allocations: 29.7 kB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.2001, allocations: 322.8 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.2002, allocations: 31.92 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2003, allocations: 72.27 kB / 0.6768 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2005, allocations: 69.64 kB / 0.6769 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2005, allocations: 0 / 0.6769 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002369/0.2007, allocations: 113.5 kB / 0.677 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2008, allocations: 4 kB / 0.677 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2008, allocations: 0 / 0.677 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2008, allocations: 4 kB / 0.677 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2009, allocations: 15.92 kB / 0.677 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2009, allocations: 4.031 kB / 0.677 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.201, allocations: 15.89 kB / 0.677 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.201, allocations: 7.984 kB / 0.677 GB, free: 11.11 MB / 0.5137 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.0001472/0.2012, allocations: 145.8 kB / 0.6772 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.2012, allocations: 11.91 kB / 0.6772 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.2013, allocations: 21.41 kB / 0.6772 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.2013, allocations: 11.97 kB / 0.6772 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.2013, allocations: 3.984 kB / 0.6772 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2013, allocations: 4 kB / 0.6772 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.2015, allocations: 213.6 kB / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2015, allocations: 0 / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.2016, allocations: 11.88 kB / 0.6774 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2016, allocations: 4 kB / 0.6774 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2016, allocations: 4 kB / 0.6775 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.2016, allocations: 8.328 kB / 0.6775 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2016, allocations: 0 / 0.6775 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.2019, allocations: 149 kB / 0.6776 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.202, allocations: 93 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.202, allocations: 4 kB / 0.6777 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.2021, allocations: 7.938 kB / 0.6777 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.2022, allocations: 7.984 kB / 0.6777 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2022, allocations: 4 kB / 0.6777 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001992/0.2024, allocations: 200.4 kB / 0.6779 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2024, allocations: 0 / 0.6779 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002572/0.2027, allocations: 35.89 kB / 0.6779 GB, free: 10.08 MB / 0.5137 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.001049/0.2037, allocations: 439.3 kB / 0.6784 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.204, allocations: 63.97 kB / 0.6784 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.204, allocations: 3.938 kB / 0.6784 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2041, allocations: 39.92 kB / 0.6785 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2044, allocations: 35.58 kB / 0.6785 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.205, allocations: 294.6 kB / 0.6788 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.2053, allocations: 0.7201 MB / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.635e-05/0.2054, allocations: 25.38 kB / 0.6795 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.2055, allocations: 19.44 kB / 0.6795 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2055, allocations: 3.938 kB / 0.6795 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of Templates: time 0.006478/0.212, allocations: 2.546 MB / 0.682 GB, free: 6.023 MB / 0.5137 GB 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)