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.1851/0.1858, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002278/0.1881, allocations: 1.436 MB / 0.5948 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1896, allocations: 0.9057 MB / 0.5956 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.1897, allocations: 3.938 kB / 0.5957 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.19, allocations: 55.8 kB / 0.5957 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1902, allocations: 59.84 kB / 0.5958 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1906, allocations: 166.7 kB / 0.5959 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1908, allocations: 87.81 kB / 0.596 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.1909, allocations: 25.11 kB / 0.596 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.627e-05/0.191, allocations: 51.77 kB / 0.5961 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.1911, allocations: 43.83 kB / 0.5961 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1911, allocations: 4 kB / 0.5961 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1912, allocations: 51.84 kB / 0.5962 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.1913, allocations: 31.89 kB / 0.5962 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.1914, allocations: 49.64 kB / 0.5963 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1916, allocations: 148 kB / 0.5964 GB, free: 2.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1916, allocations: 0 / 0.5964 GB, free: 2.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1916, allocations: 4 kB / 0.5964 GB, free: 2.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1916, allocations: 0 / 0.5964 GB, free: 2.875 MB / 446.1 MB 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.0006361/0.1922, allocations: 479.2 kB / 0.5969 GB, free: 2.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1923, allocations: 8.031 kB / 0.5969 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1923, allocations: 15.81 kB / 0.5969 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1926, allocations: 244.8 kB / 0.5971 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1927, allocations: 4 kB / 0.5971 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1927, allocations: 0 / 0.5971 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1929, allocations: 104.1 kB / 0.5972 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1929, allocations: 0 / 0.5972 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.193, allocations: 0 / 0.5972 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.193, allocations: 7.984 kB / 0.5972 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1931, allocations: 31.97 kB / 0.5973 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1936, allocations: 364.5 kB / 0.5976 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1939, allocations: 90.67 kB / 0.5977 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1939, allocations: 0 / 0.5977 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.1941, allocations: 79.47 kB / 0.5978 GB, free: 1.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1941, allocations: 0 / 0.5978 GB, free: 1.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003658/0.1945, allocations: 226.6 kB / 0.598 GB, free: 1.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1945, allocations: 102.8 kB / 0.5981 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1948, allocations: 267.4 kB / 0.5983 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1948, allocations: 29.64 kB / 0.5984 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.1949, allocations: 124 kB / 0.5985 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.195, allocations: 15.75 kB / 0.5985 GB, free: 488 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.195, allocations: 8 kB / 0.5985 GB, free: 480 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1951, allocations: 330.8 kB / 0.5988 GB, free: 140 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.1952, allocations: 27.98 kB / 0.5988 GB, free: 112 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.1953, allocations: 68.22 kB / 0.5989 GB, free: 28 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.1954, allocations: 32.06 kB / 0.5989 GB, free: 15.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1954, allocations: 0 / 0.5989 GB, free: 15.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000193/0.1956, allocations: 113.4 kB / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1956, allocations: 4 kB / 0.599 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1956, allocations: 4.031 kB / 0.5991 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1956, allocations: 7.984 kB / 0.5991 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.1957, allocations: 8 kB / 0.5991 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1957, allocations: 4 kB / 0.5991 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.1958, allocations: 11.91 kB / 0.5991 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1958, allocations: 3.984 kB / 0.5991 GB, free: 15.84 MB / 462.1 MB 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.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,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.0001264/0.196, allocations: 146.9 kB / 0.5992 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.196, allocations: 15.81 kB / 0.5992 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.196, allocations: 21.34 kB / 0.5993 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.196, allocations: 7.984 kB / 0.5993 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1961, allocations: 0 / 0.5993 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1961, allocations: 3.938 kB / 0.5993 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.1963, allocations: 225.5 kB / 0.5995 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1963, allocations: 0 / 0.5995 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/0.1963, allocations: 8 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1963, allocations: 0 / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1964, allocations: 0 / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1964, allocations: 0 / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1964, allocations: 3.984 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1966, allocations: 149.2 kB / 0.5996 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.1967, allocations: 96.91 kB / 0.5997 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1967, allocations: 3.938 kB / 0.5997 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.1968, allocations: 8 kB / 0.5997 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1968, allocations: 7.984 kB / 0.5998 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1968, allocations: 0 / 0.5998 GB, free: 15.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.197, allocations: 200.6 kB / 0.5999 GB, free: 14.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.197, allocations: 3.938 kB / 0.5999 GB, free: 14.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.1973, allocations: 35.92 kB / 0.6 GB, free: 14.83 MB / 462.1 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.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 (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.001082/0.1984, allocations: 427.8 kB / 0.6004 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1986, allocations: 71.94 kB / 0.6005 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1986, allocations: 0 / 0.6005 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.1987, allocations: 35.92 kB / 0.6005 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.199, allocations: 45.45 kB / 0.6005 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.1995, allocations: 310 kB / 0.6008 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1998, allocations: 0.7243 MB / 0.6015 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.091e-05/0.1999, allocations: 17.39 kB / 0.6016 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.1999, allocations: 27.42 kB / 0.6016 GB, free: 13.32 MB / 462.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2, allocations: 4 kB / 0.6016 GB, free: 13.31 MB / 462.1 MB Notification: Performance of Templates: time 0.005129/0.2051, allocations: 2.348 MB / 0.6039 GB, free: 10.99 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: