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.001166/0.001166, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.00101/0.00101, allocations: 169.6 kB / 25.18 MB, free: 9.09 MB / 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.9523/0.9523, allocations: 177.2 MB / 205.6 MB, free: 4.332 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.917/1.917, allocations: 389.6 MB / 0.6364 GB, free: 13.26 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.983e-06/1.983e-06, allocations: 0 / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.703e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.0027/0.002727, allocations: 1.882 MB / 0.7774 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.004188, allocations: 1.223 MB / 0.7786 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.00428, allocations: 0 / 0.7786 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.004573, allocations: 63.56 kB / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.004854, allocations: 111.5 kB / 0.7788 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.005289, allocations: 207.1 kB / 0.779 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.005466, allocations: 155.6 kB / 0.7791 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.00556, allocations: 14.3 kB / 0.7791 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.005671, allocations: 95.67 kB / 0.7792 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.005757, allocations: 51.86 kB / 0.7793 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005775, allocations: 8 kB / 0.7793 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.005941, allocations: 83.86 kB / 0.7794 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.006, allocations: 39.84 kB / 0.7794 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.006041, allocations: 31.86 kB / 0.7794 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.006248, allocations: 175.4 kB / 0.7796 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00625, allocations: 0 / 0.7796 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.006251, allocations: 0 / 0.7796 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.006255, allocations: 0 / 0.7796 GB, free: 10.38 MB / 0.7448 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.0004203/0.006675, allocations: 405.4 kB / 0.78 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.006704, allocations: 8.031 kB / 0.78 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.479e-05/0.006739, allocations: 12.92 kB / 0.78 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.0069, allocations: 173.4 kB / 0.7802 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.006916, allocations: 8.375 kB / 0.7802 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.006926, allocations: 384 / 0.7802 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.007048, allocations: 81.69 kB / 0.7803 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.007056, allocations: 3.938 kB / 0.7803 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.007065, allocations: 7.969 kB / 0.7803 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.00708, allocations: 0 / 0.7803 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.007109, allocations: 15.98 kB / 0.7803 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.007363, allocations: 189.9 kB / 0.7805 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.00746, allocations: 104.1 kB / 0.7806 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.007485, allocations: 12.86 kB / 0.7806 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.007495, allocations: 7.938 kB / 0.7806 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.572e-05/0.00759, allocations: 74.19 kB / 0.7806 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.007592, allocations: 0 / 0.7806 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001203/0.007712, allocations: 69.61 kB / 0.7807 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.007737, allocations: 51.41 kB / 0.7808 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.007865, allocations: 220.2 kB / 0.781 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.007879, allocations: 25.7 kB / 0.781 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.007918, allocations: 100.6 kB / 0.7811 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.007942, allocations: 27.78 kB / 0.7811 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.007978, allocations: 29.69 kB / 0.7812 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.008073, allocations: 334.7 kB / 0.7815 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.008091, allocations: 10.83 kB / 0.7815 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.008127, allocations: 56.25 kB / 0.7815 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.008174, allocations: 43.61 kB / 0.7816 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008176, allocations: 0 / 0.7816 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.632e-05/0.008252, allocations: 88.33 kB / 0.7817 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.008264, allocations: 8 kB / 0.7817 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008269, allocations: 0 / 0.7817 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.008276, allocations: 4.062 kB / 0.7817 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.008335, allocations: 12 kB / 0.7817 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.008341, allocations: 3.984 kB / 0.7817 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.008373, allocations: 8 kB / 0.7817 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.008378, allocations: 0 / 0.7817 GB, free: 8.023 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 7.293e-05/0.008451, allocations: 116.7 kB / 0.7818 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.008465, allocations: 15.92 kB / 0.7818 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.981e-05/0.008565, allocations: 79.06 kB / 0.7819 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.008573, allocations: 4 kB / 0.7819 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.008575, allocations: 4 kB / 0.7819 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008579, allocations: 0 / 0.7819 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.104e-05/0.00867, allocations: 101.8 kB / 0.782 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008671, allocations: 0 / 0.782 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.008694, allocations: 7.984 kB / 0.782 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008697, allocations: 4 kB / 0.782 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.008705, allocations: 7.938 kB / 0.782 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.008706, allocations: 0 / 0.782 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.008706, allocations: 0 / 0.782 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.596e-05/0.008782, allocations: 102.9 kB / 0.7821 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.0088, allocations: 15.84 kB / 0.7821 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.008817, allocations: 11.94 kB / 0.7821 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.00884, allocations: 4 kB / 0.7821 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.008869, allocations: 3.984 kB / 0.7822 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.008878, allocations: 7.984 kB / 0.7822 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.008935, allocations: 77.02 kB / 0.7822 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008935, allocations: 0 / 0.7822 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001394/0.009074, allocations: 35.92 kB / 0.7823 GB, free: 7.383 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.001088/0.01016, allocations: 0.5241 MB / 0.7828 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.01028, allocations: 40.83 kB / 0.7828 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.01029, allocations: 4 kB / 0.7828 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.01032, allocations: 24.78 kB / 0.7828 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.01047, allocations: 44.64 kB / 0.7829 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.01086, allocations: 307.1 kB / 0.7832 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.1e-05/0.01094, allocations: 114.8 kB / 0.7833 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.01109, allocations: 79.36 kB / 0.7834 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/0.01109, allocations: 0 / 0.7834 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.003226/0.01432, allocations: 2.693 MB / 0.786 GB, free: 3.73 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 > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.721767227165401]