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.0007052/0.0007052, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007761/0.0007761, allocations: 165.9 kB / 23.96 MB, free: 0.5938 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.8627/0.8627, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5311/0.5311, allocations: 114 MB / 374.7 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.413e-06/1.413e-06, allocations: 0 / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.109e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002069/0.002091, allocations: 1.775 MB / 0.5572 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.003645, allocations: 1.198 MB / 0.5583 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.003733, allocations: 3.938 kB / 0.5583 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.004005, allocations: 55.67 kB / 0.5584 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.004256, allocations: 123.4 kB / 0.5585 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.004583, allocations: 194 kB / 0.5587 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.004752, allocations: 167.6 kB / 0.5588 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.004845, allocations: 9.641 kB / 0.5589 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.00494, allocations: 91.67 kB / 0.5589 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.005028, allocations: 63.86 kB / 0.559 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.005043, allocations: 4 kB / 0.559 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.005161, allocations: 79.86 kB / 0.5591 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.005227, allocations: 47.83 kB / 0.5591 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.005269, allocations: 31.88 kB / 0.5592 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.0055, allocations: 219.3 kB / 0.5594 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.005502, allocations: 0 / 0.5594 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005503, allocations: 4 kB / 0.5594 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.005506, allocations: 0 / 0.5594 GB, free: 14.21 MB / 0.5261 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.0005782/0.006085, allocations: 426.9 kB / 0.5598 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.006123, allocations: 8.625 kB / 0.5598 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.006176, allocations: 16.84 kB / 0.5598 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.006451, allocations: 201.3 kB / 0.56 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006467, allocations: 4.375 kB / 0.56 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.006484, allocations: 8.375 kB / 0.56 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.006701, allocations: 117.6 kB / 0.5601 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.006711, allocations: 3.938 kB / 0.5601 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.006724, allocations: 4 kB / 0.5601 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.006736, allocations: 4 kB / 0.5601 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.006833, allocations: 39.91 kB / 0.5602 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.007263, allocations: 292.4 kB / 0.5604 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.007405, allocations: 90.62 kB / 0.5605 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.007446, allocations: 32.84 kB / 0.5606 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.007459, allocations: 0 / 0.5606 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.007575, allocations: 79.38 kB / 0.5606 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.007576, allocations: 4 kB / 0.5606 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.000236/0.007812, allocations: 149.5 kB / 0.5608 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.007849, allocations: 81.05 kB / 0.5609 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.008023, allocations: 275.9 kB / 0.5611 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.008036, allocations: 25.7 kB / 0.5612 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.008094, allocations: 120.1 kB / 0.5613 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.008114, allocations: 23.78 kB / 0.5613 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.008148, allocations: 25.7 kB / 0.5613 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.008225, allocations: 330.8 kB / 0.5616 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.008264, allocations: 23.98 kB / 0.5617 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.008331, allocations: 122.8 kB / 0.5618 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.008414, allocations: 77.56 kB / 0.5618 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008416, allocations: 0 / 0.5618 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001282/0.008545, allocations: 125.8 kB / 0.562 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.008556, allocations: 8 kB / 0.562 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.008561, allocations: 0 / 0.562 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.008571, allocations: 0 / 0.562 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.008636, allocations: 23.92 kB / 0.562 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.00864, allocations: 4.062 kB / 0.562 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.409e-05/0.008674, allocations: 4 kB / 0.562 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.008679, allocations: 0 / 0.562 GB, free: 11.29 MB / 0.5261 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 8.465e-05/0.008764, allocations: 145.8 kB / 0.5621 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.008779, allocations: 15.91 kB / 0.5622 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.008951, allocations: 135.2 kB / 0.5623 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.008957, allocations: 4 kB / 0.5623 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.008962, allocations: 3.984 kB / 0.5623 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.008966, allocations: 3.984 kB / 0.5623 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.009074, allocations: 165.2 kB / 0.5625 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.009076, allocations: 4 kB / 0.5625 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.009099, allocations: 7.984 kB / 0.5625 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.0091, allocations: 0 / 0.5625 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.009109, allocations: 7.984 kB / 0.5625 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00911, allocations: 0 / 0.5625 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00911, allocations: 0 / 0.5625 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.009241, allocations: 152.9 kB / 0.5626 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.00926, allocations: 19.83 kB / 0.5626 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.009276, allocations: 4 kB / 0.5626 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.009312, allocations: 4 kB / 0.5626 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.009353, allocations: 11.98 kB / 0.5627 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.009361, allocations: 4 kB / 0.5627 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00012/0.009481, allocations: 208.6 kB / 0.5629 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.009481, allocations: 0 / 0.5629 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001585/0.00964, allocations: 35.88 kB / 0.5629 GB, free: 10.3 MB / 0.5261 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.0007027/0.01034, allocations: 453.8 kB / 0.5633 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.0105, allocations: 71.95 kB / 0.5634 GB, free: 10 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.0105, allocations: 4.062 kB / 0.5634 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.01055, allocations: 35.92 kB / 0.5634 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.01073, allocations: 43.8 kB / 0.5635 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.01112, allocations: 339.7 kB / 0.5638 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.754e-05/0.01119, allocations: 114.8 kB / 0.5639 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.01122, allocations: 16.5 kB / 0.5639 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.01122, allocations: 4 kB / 0.5639 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of Templates: time 0.003281/0.0145, allocations: 2.741 MB / 0.5666 GB, free: 6.676 MB / 0.5261 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.259862805716693] Failed to read output from testmodel.py, exit status != 0: 0.018643945455551147 0.027058339 0.019828337 Calling exit ...