Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.648/1.648, allocations: 287.4 MB / 303.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000945/0.000945, allocations: 177.3 kB / 371.8 MB, free: 10.83 MB / 298.7 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.4 MB / 0.6305 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 96.2 kB / 0.7438 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.000393, allocations: 16.11 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001814/0.1969, allocations: 1.45 MB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1982, allocations: 0.9544 MB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1983, allocations: 0 / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1986, allocations: 47.81 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1988, allocations: 75.66 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.1994, allocations: 167 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1996, allocations: 123.6 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1997, allocations: 21.12 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1998, allocations: 55.75 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.1999, allocations: 51.78 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1999, allocations: 0 / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.2, allocations: 59.89 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.2001, allocations: 35.91 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.2002, allocations: 45.64 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.2004, allocations: 152 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2004, allocations: 4 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2004, allocations: 0 / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2004, allocations: 0 / 0.9824 GB, free: 24.96 MB / 0.6198 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.0005229/0.2009, allocations: 460.4 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.201, allocations: 8.031 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.201, allocations: 20.73 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.2013, allocations: 256.8 kB / 0.9831 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2013, allocations: 8.375 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2013, allocations: 4.125 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2015, allocations: 92.17 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2015, allocations: 0 / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2015, allocations: 11.98 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.2015, allocations: 0 / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.2016, allocations: 31.98 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.2021, allocations: 364.6 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.2023, allocations: 78.67 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.2024, allocations: 32.84 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2024, allocations: 7.984 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.2026, allocations: 87.39 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.2026, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003098/0.2029, allocations: 129.5 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.2029, allocations: 106.8 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2031, allocations: 267.6 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2032, allocations: 33.7 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.2032, allocations: 112.1 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.2032, allocations: 19.75 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.2033, allocations: 3.984 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.2033, allocations: 334.8 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.2034, allocations: 31.92 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.2035, allocations: 64.28 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2036, allocations: 77.98 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2036, allocations: 0 / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.2038, allocations: 109.4 kB / 0.9851 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2038, allocations: 8 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2038, allocations: 0 / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2038, allocations: 192 / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.2039, allocations: 15.98 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2039, allocations: 7.969 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.204, allocations: 11.84 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.204, allocations: 11.88 kB / 0.9851 GB, free: 21.94 MB / 0.6198 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.251e-05/0.2041, allocations: 141.8 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.2042, allocations: 15.81 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.2042, allocations: 21.39 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2042, allocations: 0 / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2042, allocations: 0 / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.2043, allocations: 100.9 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.2043, allocations: 7.938 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.2044, allocations: 8 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.2044, allocations: 11.98 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002039/0.2046, allocations: 180.9 kB / 0.9856 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002059/0.2048, allocations: 298.5 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.79e-05/0.2049, allocations: 31.98 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001268/0.2051, allocations: 196.4 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of Backend: time 3.01e-07/0.2051, allocations: 0 / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.2063, allocations: 466.4 kB / 0.9865 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005845/0.2069, allocations: 0.747 MB / 0.9873 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.004759/0.2116, allocations: 2.408 MB / 0.9896 GB, free: 17.41 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)