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.0007611/0.0007611, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007443/0.0007443, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8967/0.8967, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001545/0.001545, allocations: 233.7 kB / 260.2 MB, free: 13.02 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 0.6774/0.6774, allocations: 138.4 MB / 455 MB, free: 30.11 MB / 410.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 3.015e-06/3.015e-06, allocations: 3.984 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.175e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.2565/0.2566, allocations: 1.768 MB / 0.6493 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.2584, allocations: 1.19 MB / 0.6504 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2585, allocations: 6.469 kB / 0.6504 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.2589, allocations: 56.92 kB / 0.6505 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.2594, allocations: 127.8 kB / 0.6506 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.2601, allocations: 192.7 kB / 0.6508 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.2604, allocations: 161.8 kB / 0.6509 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.2606, allocations: 13.59 kB / 0.651 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.2608, allocations: 89.16 kB / 0.651 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2609, allocations: 65.16 kB / 0.6511 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.2609, allocations: 8.719 kB / 0.6511 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.2611, allocations: 78.73 kB / 0.6512 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2612, allocations: 45.42 kB / 0.6512 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.2613, allocations: 29.84 kB / 0.6513 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.2617, allocations: 223.1 kB / 0.6515 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2617, allocations: 1.875 kB / 0.6515 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2617, allocations: 0 / 0.6515 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.2617, allocations: 1.625 kB / 0.6515 GB, free: 55.72 MB / 0.5573 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.0005939/0.2623, allocations: 417.4 kB / 0.6519 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2623, allocations: 13.03 kB / 0.6519 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.2624, allocations: 19.8 kB / 0.6519 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2627, allocations: 203.7 kB / 0.6521 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2628, allocations: 3.688 kB / 0.6521 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2628, allocations: 8.156 kB / 0.6521 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.263, allocations: 113.5 kB / 0.6522 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.263, allocations: 6.938 kB / 0.6522 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.263, allocations: 1.078 kB / 0.6522 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.263, allocations: 2.688 kB / 0.6522 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.2631, allocations: 41.38 kB / 0.6523 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.2635, allocations: 293.2 kB / 0.6525 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2637, allocations: 93.31 kB / 0.6526 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.2638, allocations: 33.23 kB / 0.6527 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2638, allocations: 1.719 kB / 0.6527 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.264, allocations: 81.69 kB / 0.6527 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.925e-06/0.264, allocations: 1.688 kB / 0.6527 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0003189/0.2643, allocations: 149.6 kB / 0.6529 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.2643, allocations: 82.92 kB / 0.653 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.2646, allocations: 275.3 kB / 0.6532 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2646, allocations: 28.67 kB / 0.6533 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.2647, allocations: 118.4 kB / 0.6534 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.2647, allocations: 21.19 kB / 0.6534 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.2647, allocations: 25.89 kB / 0.6534 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.2648, allocations: 328.8 kB / 0.6537 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.2649, allocations: 27.16 kB / 0.6538 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.2649, allocations: 118.3 kB / 0.6539 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.2651, allocations: 77.86 kB / 0.6539 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2651, allocations: 2.156 kB / 0.6539 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001664/0.2652, allocations: 120 kB / 0.6541 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2652, allocations: 6.094 kB / 0.6541 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2653, allocations: 0 / 0.6541 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2653, allocations: 1.531 kB / 0.6541 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.2654, allocations: 17.23 kB / 0.6541 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2654, allocations: 2.094 kB / 0.6541 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.2654, allocations: 16.59 kB / 0.6541 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2654, allocations: 4.516 kB / 0.6541 GB, free: 53.75 MB / 0.5573 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 9.553e-05/0.2655, allocations: 154 kB / 0.6543 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.2656, allocations: 13.62 kB / 0.6543 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.2658, allocations: 129.8 kB / 0.6544 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.2658, allocations: 1.469 kB / 0.6544 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2658, allocations: 1.938 kB / 0.6544 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2658, allocations: 1.484 kB / 0.6544 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2659, allocations: 166.8 kB / 0.6546 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2659, allocations: 3.219 kB / 0.6546 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.266, allocations: 6.5 kB / 0.6546 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.266, allocations: 2.531 kB / 0.6546 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.266, allocations: 6.562 kB / 0.6546 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.266, allocations: 2.844 kB / 0.6546 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.266, allocations: 5.062 kB / 0.6546 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2661, allocations: 152.4 kB / 0.6547 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.2662, allocations: 21.06 kB / 0.6547 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2662, allocations: 1.875 kB / 0.6547 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.2662, allocations: 5.047 kB / 0.6548 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.2663, allocations: 11.81 kB / 0.6548 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2663, allocations: 4.172 kB / 0.6548 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001358/0.2664, allocations: 201.7 kB / 0.655 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2664, allocations: 0 / 0.655 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002068/0.2666, allocations: 35.75 kB / 0.655 GB, free: 53.16 MB / 0.5573 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.0009054/0.2675, allocations: 464.8 kB / 0.6554 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2677, allocations: 75.92 kB / 0.6555 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2677, allocations: 0 / 0.6555 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.737e-05/0.2678, allocations: 37.17 kB / 0.6555 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.268, allocations: 41.06 kB / 0.6556 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.2686, allocations: 339.6 kB / 0.6559 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.51e-05/0.2686, allocations: 116.4 kB / 0.656 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.2687, allocations: 20.16 kB / 0.656 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.2687, allocations: 0 / 0.656 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.00493/0.2736, allocations: 2.747 MB / 0.6587 GB, free: 52.39 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.555029894225299] Failed to read output from testmodel.py, exit status != 0: 0.2804691130295396 0.289994171 0.026349496 Calling exit ...