Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001022, allocations: 114 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 187.4 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002388, allocations: 75.88 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2385, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003233/0.2418, allocations: 1.773 MB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2434, allocations: 1.038 MB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2436, allocations: 3.938 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.2439, allocations: 59.73 kB / 0.7876 GB, free: 312 kB / 0.6544 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.0002793/0.2442, allocations: 71.67 kB / 0.7877 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.2448, allocations: 190.6 kB / 0.7878 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3969/0.6417, allocations: 146.5 kB / 0.788 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.642, allocations: 22.22 kB / 0.788 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.6421, allocations: 67.77 kB / 0.7881 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.6422, allocations: 67.19 kB / 0.7881 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.6423, allocations: 5.25 kB / 0.7881 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.6425, allocations: 72.75 kB / 0.7882 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.6426, allocations: 33.45 kB / 0.7882 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.6427, allocations: 66.8 kB / 0.7883 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.643, allocations: 203.4 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.643, allocations: 3.281 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.552e-06/0.643, allocations: 3.281 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.643, allocations: 0 / 0.7885 GB, free: 46.37 MB / 0.6544 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.0005573/0.6436, allocations: 484.7 kB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6436, allocations: 8.75 kB / 0.789 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.6437, allocations: 20.59 kB / 0.789 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.6439, allocations: 251.7 kB / 0.7892 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.644, allocations: 8.438 kB / 0.7892 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.644, allocations: 4.359 kB / 0.7892 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.6442, allocations: 99.59 kB / 0.7893 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6442, allocations: 4.938 kB / 0.7893 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.6442, allocations: 3.75 kB / 0.7894 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.6442, allocations: 2.625 kB / 0.7894 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.6444, allocations: 34.73 kB / 0.7894 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.6448, allocations: 356.5 kB / 0.7897 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.645, allocations: 86.77 kB / 0.7898 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.6451, allocations: 32 kB / 0.7898 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.6451, allocations: 3.922 kB / 0.7898 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.6453, allocations: 88.8 kB / 0.7899 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.6453, allocations: 0 / 0.7899 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003364/0.6456, allocations: 136.3 kB / 0.7901 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.6457, allocations: 105.9 kB / 0.7902 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.6459, allocations: 267.7 kB / 0.7904 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6459, allocations: 26.98 kB / 0.7904 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.646, allocations: 119.6 kB / 0.7906 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.646, allocations: 19.7 kB / 0.7906 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.6461, allocations: 25.83 kB / 0.7906 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.6461, allocations: 337.5 kB / 0.7909 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.6462, allocations: 23.22 kB / 0.7909 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.6463, allocations: 73.31 kB / 0.791 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.6464, allocations: 66.75 kB / 0.7911 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6464, allocations: 2.688 kB / 0.7911 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.6466, allocations: 114.5 kB / 0.7912 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6467, allocations: 5.25 kB / 0.7912 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6467, allocations: 2.656 kB / 0.7912 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6467, allocations: 0 / 0.7912 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.6468, allocations: 16.8 kB / 0.7912 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6468, allocations: 5.5 kB / 0.7912 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.6469, allocations: 6.031 kB / 0.7912 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.6469, allocations: 4.5 kB / 0.7912 GB, free: 44.48 MB / 0.6544 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 9.837e-05/0.647, allocations: 149.3 kB / 0.7914 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.647, allocations: 18.12 kB / 0.7914 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.6471, allocations: 19.03 kB / 0.7914 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6471, allocations: 3.609 kB / 0.7914 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6471, allocations: 0 / 0.7914 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.6471, allocations: 99.17 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.6472, allocations: 7.75 kB / 0.7915 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.6472, allocations: 9.656 kB / 0.7915 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.6473, allocations: 11.45 kB / 0.7915 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002036/0.6475, allocations: 177.8 kB / 0.7917 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002165/0.6477, allocations: 291.7 kB / 0.792 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.422e-05/0.6478, allocations: 37.25 kB / 0.792 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001335/0.6479, allocations: 195.2 kB / 0.7922 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.6479, allocations: 2.625 kB / 0.7922 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.6492, allocations: 454.8 kB / 0.7926 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005732/0.6498, allocations: 0.7423 MB / 0.7934 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.005228/0.6551, allocations: 2.576 MB / 0.7959 GB, free: 43.04 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)