Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008395/0.0008395, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9677/0.9677, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.936/1.936, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7752 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.155e-05, allocations: 3.031 kB / 0.7752 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002402/0.002424, allocations: 1.836 MB / 0.7769 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.003793, allocations: 1.225 MB / 0.7781 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.003876, allocations: 0 / 0.7781 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.004141, allocations: 60.55 kB / 0.7782 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.004466, allocations: 133.7 kB / 0.7783 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.004985, allocations: 191.3 kB / 0.7785 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.005186, allocations: 167.5 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.005276, allocations: 17.34 kB / 0.7787 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.005384, allocations: 87.75 kB / 0.7788 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.005465, allocations: 59.86 kB / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.005481, allocations: 8 kB / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.005611, allocations: 79.8 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.005666, allocations: 39.84 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.005713, allocations: 39.84 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.005901, allocations: 167.4 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.005903, allocations: 3.969 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005904, allocations: 0 / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.005907, allocations: 0 / 0.7792 GB, free: 1.219 MB / 0.7292 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.0003932/0.0063, allocations: 397.5 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.006332, allocations: 13.34 kB / 0.7795 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.006369, allocations: 12.92 kB / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.006541, allocations: 177.3 kB / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.006556, allocations: 384 / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.00657, allocations: 8.359 kB / 0.7797 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.006693, allocations: 77.69 kB / 0.7798 GB, free: 496 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.0067, allocations: 4.5 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.006708, allocations: 3.562 kB / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.006725, allocations: 0 / 0.7798 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.006755, allocations: 15.98 kB / 0.7798 GB, free: 476 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.007016, allocations: 189.9 kB / 0.78 GB, free: 268 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.901e-05/0.007115, allocations: 100.1 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.007138, allocations: 16.84 kB / 0.7801 GB, free: 136 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.00715, allocations: 7.938 kB / 0.7801 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.657e-05/0.007227, allocations: 72.98 kB / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.007228, allocations: 0 / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001304/0.007358, allocations: 73.88 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.007381, allocations: 51.41 kB / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.007507, allocations: 224.1 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.007522, allocations: 29.7 kB / 0.7806 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.007559, allocations: 105.9 kB / 0.7807 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.007583, allocations: 27.77 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.007618, allocations: 21.72 kB / 0.7807 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.007695, allocations: 334.8 kB / 0.781 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.007713, allocations: 15.92 kB / 0.781 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.007745, allocations: 52.27 kB / 0.7811 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.007792, allocations: 47.88 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007794, allocations: 0.9375 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.311e-05/0.007867, allocations: 72.38 kB / 0.7812 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.007878, allocations: 8.859 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.007883, allocations: 4 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.007894, allocations: 1.438 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.007947, allocations: 8 kB / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007951, allocations: 4 kB / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.00798, allocations: 0 / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.007988, allocations: 12.64 kB / 0.7812 GB, free: 14.89 MB / 0.7448 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 6.708e-05/0.008055, allocations: 118.2 kB / 0.7814 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.008072, allocations: 21.64 kB / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.854e-05/0.008171, allocations: 75.08 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.008178, allocations: 4 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008181, allocations: 3.984 kB / 0.7815 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.008185, allocations: 8.984 kB / 0.7815 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.332e-05/0.008278, allocations: 105.8 kB / 0.7816 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008281, allocations: 4 kB / 0.7816 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.008301, allocations: 5.188 kB / 0.7816 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.008303, allocations: 0 / 0.7816 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.00831, allocations: 7.922 kB / 0.7816 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008312, allocations: 4.5 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008313, allocations: 0 / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.008389, allocations: 95.56 kB / 0.7817 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.008406, allocations: 19.89 kB / 0.7817 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.008424, allocations: 8.812 kB / 0.7817 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.008444, allocations: 0 / 0.7817 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.008478, allocations: 12.55 kB / 0.7817 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.008485, allocations: 4 kB / 0.7817 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.008547, allocations: 77.36 kB / 0.7818 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008547, allocations: 0 / 0.7818 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001408/0.008688, allocations: 31.94 kB / 0.7818 GB, free: 14.24 MB / 0.7448 GB 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001067/0.009754, allocations: 0.5331 MB / 0.7823 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.009849, allocations: 38.41 kB / 0.7824 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.009853, allocations: 0 / 0.7824 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/0.009882, allocations: 20.86 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.01001, allocations: 44.78 kB / 0.7824 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.01034, allocations: 278.6 kB / 0.7827 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.01038, allocations: 81.03 kB / 0.7828 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.624e-05/0.01043, allocations: 22.03 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.01051, allocations: 72.2 kB / 0.7829 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.01051, allocations: 0 / 0.7829 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.004274/0.01479, allocations: 2.833 MB / 0.7856 GB, free: 10.69 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.141861001960933]