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.2115/0.2124, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002547/0.215, allocations: 1.467 MB / 0.5955 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.2169, allocations: 0.9948 MB / 0.5965 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.2171, allocations: 0 / 0.5965 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.2176, allocations: 59.8 kB / 0.5966 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.2179, allocations: 59.8 kB / 0.5966 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007309/0.2187, allocations: 182.7 kB / 0.5968 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.219, allocations: 139.6 kB / 0.5969 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2193, allocations: 21.12 kB / 0.597 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.2195, allocations: 51.77 kB / 0.597 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.2197, allocations: 59.75 kB / 0.5971 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2197, allocations: 0 / 0.5971 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.2199, allocations: 63.91 kB / 0.5971 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.2201, allocations: 35.83 kB / 0.5972 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2202, allocations: 77.31 kB / 0.5972 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.2206, allocations: 195.7 kB / 0.5974 GB, free: 2.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.2206, allocations: 0 / 0.5974 GB, free: 2.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2206, allocations: 3.938 kB / 0.5974 GB, free: 2.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2206, allocations: 0 / 0.5974 GB, free: 2.172 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.0008868/0.2215, allocations: 468.4 kB / 0.5979 GB, free: 1.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2216, allocations: 12.03 kB / 0.5979 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.2216, allocations: 16.75 kB / 0.5979 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.222, allocations: 249.9 kB / 0.5981 GB, free: 1.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.2221, allocations: 7.938 kB / 0.5981 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2221, allocations: 4 kB / 0.5981 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.2224, allocations: 100.1 kB / 0.5982 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2224, allocations: 0 / 0.5982 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2224, allocations: 3.984 kB / 0.5982 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.2224, allocations: 0 / 0.5982 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.2226, allocations: 39.97 kB / 0.5983 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/0.2232, allocations: 356.5 kB / 0.5986 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.2235, allocations: 82.66 kB / 0.5987 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.2236, allocations: 40.84 kB / 0.5987 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.2236, allocations: 96 / 0.5987 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.2239, allocations: 83.3 kB / 0.5988 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.2239, allocations: 4 kB / 0.5988 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000457/0.2244, allocations: 137.5 kB / 0.599 GB, free: 420 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.2245, allocations: 106.8 kB / 0.5991 GB, free: 288 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.2248, allocations: 267.5 kB / 0.5993 GB, free: 8 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.2248, allocations: 29.7 kB / 0.5993 GB, free: 15.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.2249, allocations: 120.1 kB / 0.5994 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.225, allocations: 31.56 kB / 0.5995 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.225, allocations: 17.72 kB / 0.5995 GB, free: 15.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2252, allocations: 330.8 kB / 0.5998 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.2253, allocations: 27.98 kB / 0.5998 GB, free: 15.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2254, allocations: 68.28 kB / 0.5999 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2255, allocations: 69.69 kB / 0.6 GB, free: 15.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2255, allocations: 0 / 0.6 GB, free: 15.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002398/0.2258, allocations: 113.4 kB / 0.6001 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2258, allocations: 4 kB / 0.6001 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2258, allocations: 0 / 0.6001 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.2259, allocations: 0 / 0.6001 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.226, allocations: 19.98 kB / 0.6001 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-05/0.226, allocations: 11.91 kB / 0.6001 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.2261, allocations: 4 kB / 0.6001 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.2261, allocations: 4 kB / 0.6001 GB, free: 15.12 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 ($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.0001577/0.2263, allocations: 139.6 kB / 0.6003 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.2263, allocations: 15.81 kB / 0.6003 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.2264, allocations: 21.58 kB / 0.6003 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.2264, allocations: 4 kB / 0.6003 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2264, allocations: 7.875 kB / 0.6003 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2265, allocations: 4 kB / 0.6003 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2267, allocations: 221.6 kB / 0.6005 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2267, allocations: 0 / 0.6005 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.2268, allocations: 7.984 kB / 0.6005 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2268, allocations: 4 kB / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2268, allocations: 0 / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2268, allocations: 0 / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2268, allocations: 4.328 kB / 0.6005 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.2271, allocations: 148.8 kB / 0.6007 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.2271, allocations: 92.92 kB / 0.6008 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.2272, allocations: 7.984 kB / 0.6008 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.2272, allocations: 0 / 0.6008 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.2273, allocations: 15.92 kB / 0.6008 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2273, allocations: 7.938 kB / 0.6008 GB, free: 14.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.2275, allocations: 192.6 kB / 0.601 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2275, allocations: 0 / 0.601 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.2278, allocations: 39.91 kB / 0.601 GB, free: 14.12 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.001134/0.229, allocations: 428.4 kB / 0.6014 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.2292, allocations: 75.89 kB / 0.6015 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2292, allocations: 0 / 0.6015 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.2293, allocations: 35.98 kB / 0.6015 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2297, allocations: 32.58 kB / 0.6016 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.2303, allocations: 333.9 kB / 0.6019 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.2307, allocations: 0.7204 MB / 0.6026 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.689e-05/0.2308, allocations: 29.36 kB / 0.6026 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.2308, allocations: 19.44 kB / 0.6026 GB, free: 12.59 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2308, allocations: 0 / 0.6026 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Templates: time 0.006724/0.2376, allocations: 2.414 MB / 0.605 GB, free: 10.2 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: