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.2002/0.2023, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003326/0.2057, allocations: 1.745 MB / 0.6723 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2074, allocations: 1.014 MB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.2075, allocations: 0 / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.2079, allocations: 55.73 kB / 0.6734 GB, free: 15.17 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.000279/0.2082, allocations: 87.64 kB / 0.6735 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.2087, allocations: 190.5 kB / 0.6736 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.209, allocations: 147.6 kB / 0.6738 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2091, allocations: 33.05 kB / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2092, allocations: 63.7 kB / 0.6739 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2093, allocations: 67.75 kB / 0.6739 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2094, allocations: 8 kB / 0.6739 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.2095, allocations: 75.88 kB / 0.674 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.2096, allocations: 31.91 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.2097, allocations: 59.61 kB / 0.6741 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.21, allocations: 199.4 kB / 0.6743 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.21, allocations: 4 kB / 0.6743 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.21, allocations: 0 / 0.6743 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.21, allocations: 4 kB / 0.6743 GB, free: 14.21 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.0006945/0.2107, allocations: 488.3 kB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2108, allocations: 12.03 kB / 0.6748 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.2108, allocations: 16.75 kB / 0.6748 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.2112, allocations: 248.6 kB / 0.675 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2112, allocations: 8 kB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.2113, allocations: 7.938 kB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2115, allocations: 96.22 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2115, allocations: 3.938 kB / 0.6751 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2115, allocations: 4 kB / 0.6751 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.2116, allocations: 7.984 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2117, allocations: 31.92 kB / 0.6752 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.2122, allocations: 356.6 kB / 0.6755 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.2125, allocations: 98.62 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.2125, allocations: 28.84 kB / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2126, allocations: 0 / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.2127, allocations: 83.38 kB / 0.6757 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.2128, allocations: 0 / 0.6757 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003668/0.2131, allocations: 137.5 kB / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.2132, allocations: 122.7 kB / 0.676 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.2135, allocations: 258.8 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2135, allocations: 29.7 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.2136, allocations: 112.1 kB / 0.6763 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.2136, allocations: 23.66 kB / 0.6764 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.2137, allocations: 25.7 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2138, allocations: 330.8 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.2139, allocations: 27.98 kB / 0.6767 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.214, allocations: 68.27 kB / 0.6768 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2141, allocations: 69.64 kB / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2141, allocations: 0 / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.2144, allocations: 117.5 kB / 0.677 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2144, allocations: 8.031 kB / 0.677 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2144, allocations: 4 kB / 0.677 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2144, allocations: 0 / 0.677 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.2145, allocations: 19.88 kB / 0.677 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2145, allocations: 0 / 0.677 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.2146, allocations: 7.984 kB / 0.677 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2146, allocations: 0 / 0.677 GB, free: 11.14 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.0001334/0.2148, allocations: 145.8 kB / 0.6772 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.2148, allocations: 19.81 kB / 0.6772 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.2148, allocations: 17.39 kB / 0.6772 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.2149, allocations: 7.938 kB / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2149, allocations: 4 kB / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2149, allocations: 192 / 0.6772 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2151, allocations: 221.5 kB / 0.6774 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2151, allocations: 7.875 kB / 0.6774 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.2151, allocations: 8 kB / 0.6774 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2151, allocations: 0 / 0.6774 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2152, allocations: 3.984 kB / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2152, allocations: 3.938 kB / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2152, allocations: 7.938 kB / 0.6774 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2154, allocations: 144.9 kB / 0.6776 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.2155, allocations: 92.95 kB / 0.6777 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.2156, allocations: 0 / 0.6777 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.2156, allocations: 7.938 kB / 0.6777 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.2157, allocations: 7.984 kB / 0.6777 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2157, allocations: 4 kB / 0.6777 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001793/0.2159, allocations: 204.4 kB / 0.6779 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2159, allocations: 0 / 0.6779 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002428/0.2161, allocations: 31.91 kB / 0.6779 GB, free: 10.11 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.001113/0.2173, allocations: 432.5 kB / 0.6783 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.2175, allocations: 79.83 kB / 0.6784 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2175, allocations: 0 / 0.6784 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.2176, allocations: 40.03 kB / 0.6784 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.218, allocations: 39.94 kB / 0.6785 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.2185, allocations: 298.8 kB / 0.6788 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2188, allocations: 0.7162 MB / 0.6795 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.198e-05/0.2189, allocations: 25.39 kB / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.219, allocations: 19.42 kB / 0.6795 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.219, allocations: 4 kB / 0.6795 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of Templates: time 0.006886/0.2259, allocations: 2.537 MB / 0.682 GB, free: 6.059 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)