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.4418/0.4441, allocations: 80.81 MB / 0.5904 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00374/0.4479, allocations: 1.75 MB / 0.5921 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.45, allocations: 1.021 MB / 0.5931 GB, free: 20.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.4502, allocations: 0 / 0.5931 GB, free: 20.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.4506, allocations: 63.67 kB / 0.5932 GB, free: 19.96 MB / 446.1 MB [/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.0002899/0.4509, allocations: 75.67 kB / 0.5932 GB, free: 19.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.4515, allocations: 203.9 kB / 0.5934 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.4518, allocations: 139.7 kB / 0.5936 GB, free: 19.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.4519, allocations: 22.06 kB / 0.5936 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.452, allocations: 60.81 kB / 0.5936 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.4522, allocations: 67.69 kB / 0.5937 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.4522, allocations: 4.531 kB / 0.5937 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.4524, allocations: 69.08 kB / 0.5938 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-05/0.4525, allocations: 43.84 kB / 0.5938 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.012e-05/0.4526, allocations: 59.55 kB / 0.5939 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.4528, allocations: 202.7 kB / 0.5941 GB, free: 19.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4529, allocations: 0 / 0.5941 GB, free: 19.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4529, allocations: 3.5 kB / 0.5941 GB, free: 19.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.4529, allocations: 0 / 0.5941 GB, free: 19.04 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.0005909/0.4535, allocations: 484.3 kB / 0.5945 GB, free: 18.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4535, allocations: 12.03 kB / 0.5946 GB, free: 18.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.4536, allocations: 16.75 kB / 0.5946 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.4539, allocations: 248.8 kB / 0.5948 GB, free: 18.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4539, allocations: 7.938 kB / 0.5948 GB, free: 18.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.4539, allocations: 7.984 kB / 0.5948 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.4541, allocations: 98.89 kB / 0.5949 GB, free: 18.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4541, allocations: 0 / 0.5949 GB, free: 18.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4541, allocations: 0 / 0.5949 GB, free: 18.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.4542, allocations: 3.938 kB / 0.5949 GB, free: 18.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.4543, allocations: 35.05 kB / 0.595 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.4547, allocations: 356.6 kB / 0.5953 GB, free: 17.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4549, allocations: 94.69 kB / 0.5954 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.455, allocations: 32.84 kB / 0.5954 GB, free: 17.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.455, allocations: 4 kB / 0.5954 GB, free: 17.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.4552, allocations: 79.38 kB / 0.5955 GB, free: 17.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4552, allocations: 0 / 0.5955 GB, free: 17.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003251/0.4556, allocations: 141.4 kB / 0.5956 GB, free: 17.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4556, allocations: 110.8 kB / 0.5957 GB, free: 17.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4558, allocations: 266.8 kB / 0.596 GB, free: 16.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4558, allocations: 25.7 kB / 0.596 GB, free: 16.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.4559, allocations: 120 kB / 0.5961 GB, free: 16.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.4559, allocations: 23.73 kB / 0.5962 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.456, allocations: 25.66 kB / 0.5962 GB, free: 16.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.456, allocations: 334.8 kB / 0.5965 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.4561, allocations: 23.98 kB / 0.5965 GB, free: 16.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/0.4562, allocations: 68.28 kB / 0.5966 GB, free: 16.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4563, allocations: 73.62 kB / 0.5967 GB, free: 16.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4563, allocations: 0 / 0.5967 GB, free: 16.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/0.4565, allocations: 117.4 kB / 0.5968 GB, free: 16.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4565, allocations: 4 kB / 0.5968 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4565, allocations: 4.047 kB / 0.5968 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4566, allocations: 8.016 kB / 0.5968 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.4567, allocations: 15.98 kB / 0.5968 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4567, allocations: 7.938 kB / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.4567, allocations: 4 kB / 0.5968 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4568, allocations: 0 / 0.5968 GB, free: 15.98 MB / 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 9.217e-05/0.4569, allocations: 142 kB / 0.5969 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.4569, allocations: 15.81 kB / 0.597 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.4569, allocations: 21.33 kB / 0.597 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4569, allocations: 8 kB / 0.597 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.457, allocations: 3.938 kB / 0.597 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.457, allocations: 0 / 0.597 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.4571, allocations: 229.4 kB / 0.5972 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4571, allocations: 0 / 0.5972 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.4572, allocations: 15.92 kB / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4572, allocations: 0 / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4572, allocations: 0 / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4572, allocations: 0 / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4572, allocations: 3.938 kB / 0.5972 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.4574, allocations: 145.3 kB / 0.5974 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.4574, allocations: 92.92 kB / 0.5975 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.4575, allocations: 4 kB / 0.5975 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.4575, allocations: 3.984 kB / 0.5975 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.4576, allocations: 11.94 kB / 0.5975 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4576, allocations: 7.984 kB / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.4578, allocations: 196.4 kB / 0.5977 GB, free: 15.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4578, allocations: 0 / 0.5977 GB, free: 15.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.458, allocations: 36 kB / 0.5977 GB, free: 14.97 MB / 446.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.001011/0.459, allocations: 425.5 kB / 0.5981 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.4593, allocations: 79.95 kB / 0.5982 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4593, allocations: 0 / 0.5982 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.4594, allocations: 35.92 kB / 0.5982 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.4597, allocations: 47.08 kB / 0.5983 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.4602, allocations: 294.9 kB / 0.5985 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.4604, allocations: 0.7201 MB / 0.5992 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.029e-05/0.4605, allocations: 25.36 kB / 0.5993 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.4605, allocations: 19.44 kB / 0.5993 GB, free: 13.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4605, allocations: 0 / 0.5993 GB, free: 13.48 MB / 446.1 MB Notification: Performance of Templates: time 0.005798/0.4663, allocations: 2.534 MB / 0.6018 GB, free: 10.97 MB / 446.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)