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.001821/0.001821, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001937/0.001937, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.662/1.662, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] 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 3.112/3.112, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] 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.252e-06/1.252e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.568e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003447/0.003473, allocations: 1.785 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.005735, allocations: 1.192 MB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.005821, allocations: 0 / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.006138, allocations: 63.61 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.006515, allocations: 119.4 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.007072, allocations: 202.9 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.007327, allocations: 171.5 kB / 1.005 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.00744, allocations: 13.64 kB / 1.005 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.007597, allocations: 87.8 kB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.00772, allocations: 55.86 kB / 1.005 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.007746, allocations: 8 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.007947, allocations: 91.8 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.008042, allocations: 47.83 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.008108, allocations: 27.88 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.008467, allocations: 207.4 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.008471, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.192e-06/0.008472, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.008477, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 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.000755/0.009232, allocations: 434.8 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.009274, allocations: 13.33 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.009334, allocations: 16.84 kB / 1.006 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.009655, allocations: 197.4 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.009683, allocations: 8.375 kB / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.009699, allocations: 4.375 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.009951, allocations: 117.6 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.009963, allocations: 3.938 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.009977, allocations: 4 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.009993, allocations: 3.984 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.01011, allocations: 35.97 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.01062, allocations: 292.4 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.01087, allocations: 90.59 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.01095, allocations: 32.84 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.01097, allocations: 0 / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.01117, allocations: 83.36 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.01117, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0004021/0.01157, allocations: 145.6 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.01165, allocations: 81.11 kB / 1.007 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.01197, allocations: 275.2 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.012, allocations: 33.64 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.0121, allocations: 128 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.01214, allocations: 19.83 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.01219, allocations: 29.7 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.01236, allocations: 326.8 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.01244, allocations: 27.98 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.01259, allocations: 122.8 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.01276, allocations: 73.62 kB / 1.008 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01276, allocations: 0 / 1.008 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002437/0.01301, allocations: 117.5 kB / 1.008 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01302, allocations: 8 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01303, allocations: 0 / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01304, allocations: 4 kB / 1.008 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.01314, allocations: 11.98 kB / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.01315, allocations: 4 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.01321, allocations: 0 / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01322, allocations: 8 kB / 1.008 GB, free: 6.023 MB / 0.9636 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.000149/0.01337, allocations: 149.7 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.0134, allocations: 15.91 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.01372, allocations: 135.1 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.01373, allocations: 3.984 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.01373, allocations: 4 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01374, allocations: 0 / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.01403, allocations: 169.1 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01403, allocations: 4 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.01408, allocations: 11.94 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01408, allocations: 0 / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.01409, allocations: 0 / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.0141, allocations: 4 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0141, allocations: 4.469 kB / 1.008 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.01438, allocations: 153.1 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.01442, allocations: 15.89 kB / 1.008 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.01446, allocations: 8 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.01451, allocations: 7.922 kB / 1.008 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.01457, allocations: 11.92 kB / 1.008 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.01458, allocations: 8 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002225/0.01481, allocations: 199.2 kB / 1.009 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01481, allocations: 0 / 1.009 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002607/0.01507, allocations: 35.92 kB / 1.009 GB, free: 5.035 MB / 0.9636 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.002924/0.01799, allocations: 460.8 kB / 1.009 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.01825, allocations: 71.89 kB / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01825, allocations: 0 / 1.009 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01836, allocations: 35.98 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.01867, allocations: 52.94 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.01931, allocations: 302.1 kB / 1.009 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.01945, allocations: 110.8 kB / 1.01 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.996e-05/0.01952, allocations: 29.72 kB / 1.01 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.01958, allocations: 20.5 kB / 1.01 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.01958, allocations: 0 / 1.01 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of Templates: time 0.007188/0.02677, allocations: 2.656 MB / 1.012 GB, free: 1.504 MB / 0.9636 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: 8.769989375956357]