Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.002343/0.002343, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.002857/0.002857, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003191/0.003191, allocations: 239.2 kB / 259.8 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.167/1.167, allocations: 138.4 MB / 454.7 MB, free: 1.488 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.661e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003444/0.00347, allocations: 1.804 MB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.006065, allocations: 1.224 MB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.006139, allocations: 0 / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.00645, allocations: 59.67 kB / 0.5573 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.0068, allocations: 119.4 kB / 0.5575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.007341, allocations: 199.3 kB / 0.5577 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.007602, allocations: 163.5 kB / 0.5578 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.007704, allocations: 17.56 kB / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.007867, allocations: 91.73 kB / 0.5579 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.007995, allocations: 59.8 kB / 0.558 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.008022, allocations: 8 kB / 0.558 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.008206, allocations: 75.92 kB / 0.5581 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.918e-05/0.008295, allocations: 43.84 kB / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.008361, allocations: 31.86 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.00874, allocations: 219.2 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.008743, allocations: 4 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008744, allocations: 0 / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.008749, allocations: 0 / 0.5583 GB, free: 12.73 MB / 490.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.000781/0.00953, allocations: 0.5282 MB / 0.5589 GB, free: 12.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.009567, allocations: 12.75 kB / 0.5589 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.009635, allocations: 24.73 kB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.009962, allocations: 189.4 kB / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.009976, allocations: 384 / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.009992, allocations: 4.375 kB / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.01022, allocations: 123.2 kB / 0.5592 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.01023, allocations: 7.938 kB / 0.5592 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.01024, allocations: 0 / 0.5592 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.01026, allocations: 4 kB / 0.5592 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.01037, allocations: 31.97 kB / 0.5592 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.01097, allocations: 363.6 kB / 0.5596 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.01119, allocations: 83.12 kB / 0.5597 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.01128, allocations: 27.67 kB / 0.5597 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.01129, allocations: 0 / 0.5597 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.01147, allocations: 77.05 kB / 0.5598 GB, free: 11.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.01147, allocations: 0 / 0.5598 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003617/0.01183, allocations: 129.5 kB / 0.5599 GB, free: 10.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.0119, allocations: 85.11 kB / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.01227, allocations: 321.7 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.01229, allocations: 29.7 kB / 0.5603 GB, free: 10.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.01244, allocations: 174.9 kB / 0.5605 GB, free: 10.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.01248, allocations: 27.84 kB / 0.5605 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.01255, allocations: 31.38 kB / 0.5605 GB, free: 10.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003054/0.01285, allocations: 0.5157 MB / 0.561 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.01291, allocations: 16 kB / 0.561 GB, free: 9.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.01306, allocations: 118 kB / 0.5612 GB, free: 9.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.01321, allocations: 71.33 kB / 0.5612 GB, free: 9.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01321, allocations: 0 / 0.5612 GB, free: 9.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002303/0.01344, allocations: 105.8 kB / 0.5613 GB, free: 9.402 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.01345, allocations: 4 kB / 0.5613 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01346, allocations: 0 / 0.5613 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01347, allocations: 0 / 0.5613 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.01357, allocations: 15.98 kB / 0.5613 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01357, allocations: 80 / 0.5613 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.01364, allocations: 11.94 kB / 0.5614 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.01365, allocations: 7.984 kB / 0.5614 GB, free: 9.363 MB / 490.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 0.0001535/0.01381, allocations: 176.5 kB / 0.5615 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.01385, allocations: 31.73 kB / 0.5616 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.01414, allocations: 115.1 kB / 0.5617 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.01416, allocations: 4 kB / 0.5617 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01416, allocations: 0 / 0.5617 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01416, allocations: 0 / 0.5617 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.01442, allocations: 200.5 kB / 0.5619 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01442, allocations: 0 / 0.5619 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.01447, allocations: 7.938 kB / 0.5619 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01447, allocations: 8 kB / 0.5619 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.01448, allocations: 0 / 0.5619 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01448, allocations: 0 / 0.5619 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01448, allocations: 0 / 0.5619 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.01476, allocations: 152.2 kB / 0.562 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.0148, allocations: 19.91 kB / 0.562 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.01483, allocations: 3.938 kB / 0.562 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.01488, allocations: 4 kB / 0.562 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.01494, allocations: 11.98 kB / 0.5621 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.01495, allocations: 3.984 kB / 0.5621 GB, free: 8.562 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.01517, allocations: 211.1 kB / 0.5623 GB, free: 8.355 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01517, allocations: 4 kB / 0.5623 GB, free: 8.352 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.01543, allocations: 35.92 kB / 0.5623 GB, free: 8.316 MB / 490.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.002927/0.01835, allocations: 461.6 kB / 0.5627 GB, free: 8.043 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.0186, allocations: 63.61 kB / 0.5628 GB, free: 7.977 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0186, allocations: 0 / 0.5628 GB, free: 7.977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01871, allocations: 43.64 kB / 0.5628 GB, free: 7.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.01905, allocations: 45.09 kB / 0.5629 GB, free: 7.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.01965, allocations: 289.8 kB / 0.5632 GB, free: 7.582 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.01978, allocations: 114.7 kB / 0.5633 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.508e-05/0.01986, allocations: 21.78 kB / 0.5633 GB, free: 7.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.01991, allocations: 16.5 kB / 0.5633 GB, free: 7.41 MB / 490.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01991, allocations: 0 / 0.5633 GB, free: 7.41 MB / 490.7 MB Notification: Performance of Templates: time 0.007536/0.02745, allocations: 2.683 MB / 0.5659 GB, free: 4.766 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.851009166915901]