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.0008856/0.0008856, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.0008905/0.0008905, allocations: 163.2 kB / 25.05 MB, free: 9.148 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 1.02/1.02, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.894/1.894, allocations: 389.6 MB / 0.6363 GB, free: 12.3 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.783e-06/1.783e-06, allocations: 0.7656 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.523e-05, allocations: 6.5 kB / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004144/0.004169, allocations: 1.888 MB / 0.778 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004886/0.009056, allocations: 1.228 MB / 0.7792 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.00916, allocations: 4 kB / 0.7792 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.009477, allocations: 56.77 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.009814, allocations: 123 kB / 0.7793 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.0103, allocations: 189.3 kB / 0.7795 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.01052, allocations: 168 kB / 0.7797 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.01062, allocations: 14.81 kB / 0.7797 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.01076, allocations: 89.3 kB / 0.7798 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.01086, allocations: 55.81 kB / 0.7798 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.01088, allocations: 8 kB / 0.7799 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.01107, allocations: 87.8 kB / 0.7799 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.01114, allocations: 44.8 kB / 0.78 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.01119, allocations: 31.86 kB / 0.78 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.01548, allocations: 168 kB / 0.7802 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.01549, allocations: 3.984 kB / 0.7802 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01549, allocations: 0.5938 kB / 0.7802 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.0155, allocations: 0.5938 kB / 0.7802 GB, free: 1.188 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.0005644/0.01606, allocations: 393.5 kB / 0.7805 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.0161, allocations: 9.875 kB / 0.7806 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.01614, allocations: 13.61 kB / 0.7806 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.01636, allocations: 182.5 kB / 0.7807 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.01638, allocations: 4.375 kB / 0.7807 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.0164, allocations: 8.312 kB / 0.7808 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.01654, allocations: 74.36 kB / 0.7808 GB, free: 468 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.01655, allocations: 7.922 kB / 0.7808 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.01656, allocations: 1.312 kB / 0.7808 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.01658, allocations: 4 kB / 0.7808 GB, free: 456 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.01662, allocations: 11.94 kB / 0.7809 GB, free: 444 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.01693, allocations: 194.7 kB / 0.781 GB, free: 232 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.01705, allocations: 93.53 kB / 0.7811 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.01708, allocations: 20.83 kB / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.01709, allocations: 7.938 kB / 0.7812 GB, free: 96 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.01719, allocations: 70.77 kB / 0.7812 GB, free: 12 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.0172, allocations: 0.8125 kB / 0.7812 GB, free: 12 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001806/0.01738, allocations: 67.45 kB / 0.7813 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.01741, allocations: 59.39 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.01759, allocations: 220 kB / 0.7816 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.01761, allocations: 33.7 kB / 0.7816 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.01766, allocations: 100.6 kB / 0.7817 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.01768, allocations: 24.22 kB / 0.7817 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.01772, allocations: 26.36 kB / 0.7817 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.01782, allocations: 334.8 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.01784, allocations: 8.422 kB / 0.7821 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.01789, allocations: 60.25 kB / 0.7821 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.01795, allocations: 39.84 kB / 0.7822 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01796, allocations: 0 / 0.7822 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001057/0.01806, allocations: 81.91 kB / 0.7822 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01808, allocations: 6.031 kB / 0.7822 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01808, allocations: 1.484 kB / 0.7822 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.01809, allocations: 3.984 kB / 0.7822 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.01817, allocations: 15.94 kB / 0.7823 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01818, allocations: 3.984 kB / 0.7823 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.01822, allocations: 8.594 kB / 0.7823 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01823, allocations: 5.328 kB / 0.7823 GB, free: 14.86 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 0.002934/0.02116, allocations: 125.5 kB / 0.7824 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.02119, allocations: 15.92 kB / 0.7824 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.02134, allocations: 79.55 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.02135, allocations: 1.125 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02136, allocations: 3.984 kB / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.02136, allocations: 0 / 0.7825 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.02149, allocations: 110.8 kB / 0.7826 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02149, allocations: 0 / 0.7826 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.02153, allocations: 8 kB / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.02153, allocations: 4.484 kB / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.02154, allocations: 4.844 kB / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02154, allocations: 0 / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02154, allocations: 0.625 kB / 0.7826 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.02165, allocations: 98.83 kB / 0.7827 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.02168, allocations: 20.42 kB / 0.7827 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.0217, allocations: 8.625 kB / 0.7827 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.02173, allocations: 0 / 0.7827 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.02177, allocations: 17.56 kB / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.02178, allocations: 0 / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.179e-05/0.02186, allocations: 71.62 kB / 0.7828 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02186, allocations: 0 / 0.7828 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002092/0.02207, allocations: 39.17 kB / 0.7829 GB, free: 14.21 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.001594/0.02367, allocations: 0.5125 MB / 0.7834 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.02382, allocations: 44.77 kB / 0.7834 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.02382, allocations: 1.375 kB / 0.7834 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.02387, allocations: 24.84 kB / 0.7834 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.02405, allocations: 44.59 kB / 0.7835 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.02451, allocations: 282.9 kB / 0.7837 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.02457, allocations: 79.77 kB / 0.7838 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.841e-05/0.02464, allocations: 23.59 kB / 0.7838 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.02473, allocations: 71.36 kB / 0.7839 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.02473, allocations: 0 / 0.7839 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.005052/0.02978, allocations: 2.828 MB / 0.7867 GB, free: 10.66 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.058426525443792]