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.2124/0.2142, allocations: 80.83 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004043/0.2184, allocations: 1.806 MB / 0.5914 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2202, allocations: 1.03 MB / 0.5924 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2203, allocations: 0 / 0.5924 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.2208, allocations: 55.81 kB / 0.5925 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.221, allocations: 63.8 kB / 0.5926 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.2216, allocations: 175.2 kB / 0.5927 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.2218, allocations: 139.7 kB / 0.5929 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.222, allocations: 17.11 kB / 0.5929 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2221, allocations: 55.7 kB / 0.5929 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2222, allocations: 63.75 kB / 0.593 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.2222, allocations: 4 kB / 0.593 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.2224, allocations: 55.91 kB / 0.593 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.2225, allocations: 39.83 kB / 0.5931 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.2226, allocations: 55.61 kB / 0.5931 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.2229, allocations: 199.7 kB / 0.5933 GB, free: 3.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2229, allocations: 0 / 0.5933 GB, free: 3.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2229, allocations: 0 / 0.5933 GB, free: 3.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.2229, allocations: 0 / 0.5933 GB, free: 3.328 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.0008209/0.2237, allocations: 499.7 kB / 0.5938 GB, free: 2.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.2238, allocations: 12.03 kB / 0.5938 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.2239, allocations: 16.75 kB / 0.5938 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.2242, allocations: 245.8 kB / 0.5941 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2242, allocations: 7.938 kB / 0.5941 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2243, allocations: 8 kB / 0.5941 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.2245, allocations: 100.2 kB / 0.5942 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2245, allocations: 0 / 0.5942 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2246, allocations: 0 / 0.5942 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.2246, allocations: 0 / 0.5942 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2247, allocations: 31.98 kB / 0.5942 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.2253, allocations: 364.6 kB / 0.5946 GB, free: 1.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.2256, allocations: 86.66 kB / 0.5946 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.2257, allocations: 28.84 kB / 0.5947 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2257, allocations: 7.984 kB / 0.5947 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.226, allocations: 87.41 kB / 0.5948 GB, free: 1.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.226, allocations: 0 / 0.5948 GB, free: 1.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003839/0.2264, allocations: 141.4 kB / 0.5949 GB, free: 1.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.2265, allocations: 114.7 kB / 0.595 GB, free: 1.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.2268, allocations: 267.4 kB / 0.5953 GB, free: 1.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2268, allocations: 25.7 kB / 0.5953 GB, free: 1.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.2269, allocations: 116.1 kB / 0.5954 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.2269, allocations: 23.73 kB / 0.5954 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.227, allocations: 29.72 kB / 0.5954 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2271, allocations: 334.8 kB / 0.5958 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.2272, allocations: 23.98 kB / 0.5958 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2273, allocations: 64.28 kB / 0.5958 GB, free: 500 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2275, allocations: 73.69 kB / 0.5959 GB, free: 420 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2275, allocations: 0 / 0.5959 GB, free: 420 kB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002159/0.2277, allocations: 117.4 kB / 0.596 GB, free: 296 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2277, allocations: 4 kB / 0.596 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2277, allocations: 8 kB / 0.596 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2278, allocations: 0 / 0.596 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.2279, allocations: 8 kB / 0.596 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2279, allocations: 15.86 kB / 0.5961 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.228, allocations: 11.91 kB / 0.5961 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.228, allocations: 4.031 kB / 0.5961 GB, free: 244 kB / 446.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 ($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.0001493/0.2281, allocations: 139.4 kB / 0.5962 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.2282, allocations: 15.81 kB / 0.5962 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.2282, allocations: 21.39 kB / 0.5962 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.2282, allocations: 4 kB / 0.5962 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2282, allocations: 3.938 kB / 0.5963 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2283, allocations: 0 / 0.5963 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.2285, allocations: 213.6 kB / 0.5965 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2285, allocations: 4 kB / 0.5965 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.2286, allocations: 11.98 kB / 0.5965 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2286, allocations: 0 / 0.5965 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2286, allocations: 4 kB / 0.5965 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2286, allocations: 0 / 0.5965 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2286, allocations: 7.938 kB / 0.5965 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.2289, allocations: 140.8 kB / 0.5966 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.2289, allocations: 92.92 kB / 0.5967 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.229, allocations: 0 / 0.5967 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.229, allocations: 16.17 kB / 0.5967 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.2291, allocations: 7.938 kB / 0.5967 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.2291, allocations: 7.922 kB / 0.5967 GB, free: 15.47 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.2293, allocations: 192.6 kB / 0.5969 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2293, allocations: 3.938 kB / 0.5969 GB, free: 15.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.2296, allocations: 35.94 kB / 0.597 GB, free: 15.25 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 (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.001063/0.2306, allocations: 421.8 kB / 0.5974 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.2309, allocations: 79.88 kB / 0.5974 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2309, allocations: 0 / 0.5974 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.231, allocations: 31.98 kB / 0.5975 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2313, allocations: 38.72 kB / 0.5975 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.232, allocations: 320.7 kB / 0.5978 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.2324, allocations: 0.7242 MB / 0.5985 GB, free: 13.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.033e-05/0.2325, allocations: 29.36 kB / 0.5985 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.2325, allocations: 19.44 kB / 0.5986 GB, free: 13.73 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2326, allocations: 0 / 0.5986 GB, free: 13.73 MB / 462.1 MB Notification: Performance of Templates: time 0.006126/0.2387, allocations: 2.441 MB / 0.6009 GB, free: 11.32 MB / 462.1 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)