Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009033/0.0009033, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.002029, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.000888/0.000888, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002042, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09841/1.122, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6529/0.6529, allocations: 119.1 MB / 363.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07233/0.7252, allocations: 37.86 MB / 400.9 MB, free: 13.73 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 402.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.784e-05, allocations: 6.25 kB / 402.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002298/0.002316, allocations: 1.855 MB / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.003722, allocations: 1.235 MB / 405.4 MB, free: 9.281 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.169e-05/0.003793, allocations: 4 kB / 405.4 MB, free: 9.277 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.003952, allocations: 59.72 kB / 405.4 MB, free: 9.219 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.00417, allocations: 127.3 kB / 405.5 MB, free: 9.094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.004588, allocations: 199.3 kB / 405.7 MB, free: 8.898 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.004769, allocations: 155.5 kB / 405.9 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.00483, allocations: 22.25 kB / 405.9 MB, free: 8.723 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.004963, allocations: 127.6 kB / 406 MB, free: 8.598 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.005039, allocations: 51.88 kB / 406.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.005052, allocations: 8 kB / 406.1 MB, free: 8.539 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.005202, allocations: 87.8 kB / 406.2 MB, free: 8.453 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.00526, allocations: 39.86 kB / 406.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.005298, allocations: 27.88 kB / 406.2 MB, free: 8.387 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.005491, allocations: 151.4 kB / 406.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.0055, allocations: 0 / 406.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005501, allocations: 0 / 406.4 MB, free: 8.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.005509, allocations: 0 / 406.4 MB, free: 8.238 MB / 394.7 MB 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.0003944/0.005904, allocations: 425.2 kB / 406.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.391e-05/0.005928, allocations: 8.031 kB / 406.8 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.005959, allocations: 16.86 kB / 406.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.006116, allocations: 173.4 kB / 407 MB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.006128, allocations: 8.375 kB / 407 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.006135, allocations: 384 / 407 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.006232, allocations: 73.75 kB / 407.1 MB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.006238, allocations: 3.938 kB / 407.1 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.006244, allocations: 0 / 407.1 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.006258, allocations: 4 kB / 407.1 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.006291, allocations: 23.84 kB / 407.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.006539, allocations: 197.8 kB / 407.3 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.006635, allocations: 100.1 kB / 407.4 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.006655, allocations: 16.86 kB / 407.4 MB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-06/0.006664, allocations: 3.938 kB / 407.4 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.507e-05/0.006759, allocations: 78.22 kB / 407.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.00676, allocations: 0 / 407.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001085/0.006869, allocations: 65.91 kB / 407.6 MB, free: 6.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.006894, allocations: 51.41 kB / 407.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.00703, allocations: 221.2 kB / 407.8 MB, free: 6.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.007046, allocations: 29.7 kB / 407.9 MB, free: 6.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.007089, allocations: 100.6 kB / 408 MB, free: 6.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.007112, allocations: 27.83 kB / 408 MB, free: 6.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.007145, allocations: 33.62 kB / 408 MB, free: 6.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.007226, allocations: 326.8 kB / 408.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.007242, allocations: 10.83 kB / 408.3 MB, free: 6.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.007283, allocations: 52.27 kB / 408.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.007331, allocations: 51.41 kB / 408.4 MB, free: 5.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.007332, allocations: 0 / 408.4 MB, free: 5.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.008e-05/0.007402, allocations: 76.36 kB / 408.5 MB, free: 5.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.007413, allocations: 16 kB / 408.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007417, allocations: 0 / 408.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.007423, allocations: 0 / 408.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.007477, allocations: 15.98 kB / 408.6 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.007479, allocations: 3.938 kB / 408.6 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.00751, allocations: 7.938 kB / 408.6 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007516, allocations: 4 kB / 408.6 MB, free: 5.855 MB / 394.7 MB 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.67e-05/0.007583, allocations: 124.6 kB / 408.7 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.007598, allocations: 15.92 kB / 408.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.007694, allocations: 83.06 kB / 408.8 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.007702, allocations: 0 / 408.8 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007703, allocations: 0 / 408.8 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.007708, allocations: 8 kB / 408.8 MB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.353e-05/0.007801, allocations: 97.84 kB / 408.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.007803, allocations: 0 / 408.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.00783, allocations: 11.98 kB / 408.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.007849, allocations: 19.8 kB / 408.9 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.00785, allocations: 0 / 408.9 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.007855, allocations: 4 kB / 408.9 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007856, allocations: 0 / 408.9 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007858, allocations: 7.984 kB / 408.9 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.894e-05/0.007937, allocations: 102.7 kB / 409 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.007952, allocations: 3.938 kB / 409 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.007973, allocations: 0 / 409 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.008001, allocations: 11.98 kB / 409 MB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.008009, allocations: 7.984 kB / 409.1 MB, free: 5.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.637e-05/0.008066, allocations: 75.92 kB / 409.1 MB, free: 5.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008066, allocations: 0 / 409.1 MB, free: 5.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.008212, allocations: 31.94 kB / 409.2 MB, free: 5.203 MB / 394.7 MB 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.001198/0.009411, allocations: 0.5626 MB / 409.7 MB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.009511, allocations: 40.78 kB / 409.8 MB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.009519, allocations: 4 kB / 409.8 MB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.009553, allocations: 32.77 kB / 409.8 MB, free: 4.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.009688, allocations: 48.7 kB / 409.8 MB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.01017, allocations: 281.7 kB / 410.1 MB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01022, allocations: 87.73 kB / 410.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.01026, allocations: 21.47 kB / 410.2 MB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.01034, allocations: 75.36 kB / 410.3 MB, free: 3.992 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01034, allocations: 0 / 410.3 MB, free: 3.992 MB / 394.7 MB Notification: Performance of Templates: time 0.00528/0.01562, allocations: 2.87 MB / 413.2 MB, free: 1.121 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2903857612982392]