Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0007001/0.0007001, 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.0007723/0.0007723, 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.8086/0.8086, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5116/0.5116, allocations: 110.2 MB / 370.2 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5485 GB, free: 8.258 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.723e-05, allocations: 6.281 kB / 0.5485 GB, free: 8.25 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002318/0.002335, allocations: 1.774 MB / 0.5502 GB, free: 6.461 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003572, allocations: 1.181 MB / 0.5514 GB, free: 5.27 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.003649, allocations: 4 kB / 0.5514 GB, free: 5.266 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.003911, allocations: 55.61 kB / 0.5515 GB, free: 5.211 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.004171, allocations: 127.4 kB / 0.5516 GB, free: 5.086 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.004504, allocations: 206.9 kB / 0.5518 GB, free: 4.887 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.004668, allocations: 167.5 kB / 0.5519 GB, free: 4.723 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.004758, allocations: 13.62 kB / 0.552 GB, free: 4.707 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.51e-05/0.004853, allocations: 87.73 kB / 0.552 GB, free: 4.621 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.00494, allocations: 63.8 kB / 0.5521 GB, free: 4.559 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.004956, allocations: 8 kB / 0.5521 GB, free: 4.551 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.005072, allocations: 75.88 kB / 0.5522 GB, free: 4.477 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.005136, allocations: 51.78 kB / 0.5522 GB, free: 4.426 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.00518, allocations: 35.84 kB / 0.5523 GB, free: 4.391 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.005406, allocations: 211.4 kB / 0.5525 GB, free: 4.184 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.005408, allocations: 0 / 0.5525 GB, free: 4.184 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005409, allocations: 0 / 0.5525 GB, free: 4.184 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005413, allocations: 3.938 kB / 0.5525 GB, free: 4.18 MB / 474.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.0005056/0.005918, allocations: 426.9 kB / 0.5529 GB, free: 3.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.005952, allocations: 8.031 kB / 0.5529 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.005998, allocations: 20.8 kB / 0.5529 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.006226, allocations: 190.2 kB / 0.5531 GB, free: 3.488 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.00624, allocations: 8.375 kB / 0.5531 GB, free: 3.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.006254, allocations: 8.375 kB / 0.5531 GB, free: 3.473 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.006414, allocations: 113.6 kB / 0.5532 GB, free: 3.344 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.006423, allocations: 11.86 kB / 0.5532 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.006434, allocations: 0 / 0.5532 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006441, allocations: 0 / 0.5532 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.006507, allocations: 35.98 kB / 0.5532 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.006843, allocations: 296.4 kB / 0.5535 GB, free: 2.977 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.00698, allocations: 86.59 kB / 0.5536 GB, free: 2.883 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.007021, allocations: 32.84 kB / 0.5536 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.007034, allocations: 4 kB / 0.5537 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.007159, allocations: 91.38 kB / 0.5537 GB, free: 2.742 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.00716, allocations: 0 / 0.5537 GB, free: 2.742 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002321/0.007393, allocations: 137.6 kB / 0.5539 GB, free: 2.602 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.007431, allocations: 85.09 kB / 0.5539 GB, free: 2.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.007608, allocations: 271.2 kB / 0.5542 GB, free: 2.223 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.007621, allocations: 29.7 kB / 0.5542 GB, free: 2.188 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.007679, allocations: 116.1 kB / 0.5543 GB, free: 2.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.007702, allocations: 31.78 kB / 0.5544 GB, free: 2.039 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.007735, allocations: 29.69 kB / 0.5544 GB, free: 2.004 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.007814, allocations: 326.8 kB / 0.5547 GB, free: 1.676 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.007856, allocations: 31.92 kB / 0.5547 GB, free: 1.645 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.007926, allocations: 118.8 kB / 0.5549 GB, free: 1.504 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.008015, allocations: 77.64 kB / 0.5549 GB, free: 1.422 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008018, allocations: 0 / 0.5549 GB, free: 1.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001297/0.008147, allocations: 117.5 kB / 0.555 GB, free: 1.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.008158, allocations: 4 kB / 0.5551 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008163, allocations: 4.062 kB / 0.5551 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.008175, allocations: 4 kB / 0.5551 GB, free: 1.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.008235, allocations: 8 kB / 0.5551 GB, free: 1.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.00824, allocations: 3.984 kB / 0.5551 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.008274, allocations: 4 kB / 0.5551 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.008281, allocations: 4 kB / 0.5551 GB, free: 1.27 MB / 474.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 8.506e-05/0.008366, allocations: 153.7 kB / 0.5552 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.008381, allocations: 15.86 kB / 0.5552 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.008547, allocations: 143 kB / 0.5554 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.008552, allocations: 0 / 0.5554 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.008556, allocations: 0 / 0.5554 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008559, allocations: 0 / 0.5554 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.008665, allocations: 169.2 kB / 0.5555 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008666, allocations: 0 / 0.5555 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.008691, allocations: 11.98 kB / 0.5555 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.008692, allocations: 0 / 0.5555 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.008699, allocations: 0 / 0.5555 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.0087, allocations: 0 / 0.5555 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.008702, allocations: 4 kB / 0.5556 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.008837, allocations: 160.8 kB / 0.5557 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.008858, allocations: 19.84 kB / 0.5557 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.008876, allocations: 7.969 kB / 0.5557 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.0089, allocations: 4.188 kB / 0.5557 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.008942, allocations: 11.98 kB / 0.5557 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.008951, allocations: 7.938 kB / 0.5558 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.009072, allocations: 208.6 kB / 0.556 GB, free: 320 kB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009072, allocations: 0 / 0.556 GB, free: 320 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.000161/0.009233, allocations: 35.92 kB / 0.556 GB, free: 284 kB / 474.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.0006705/0.009903, allocations: 446.4 kB / 0.5564 GB, free: 16 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.01006, allocations: 75.88 kB / 0.5565 GB, free: 15.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01007, allocations: 0 / 0.5565 GB, free: 15.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.01011, allocations: 32.14 kB / 0.5565 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.01029, allocations: 59.83 kB / 0.5566 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.0107, allocations: 331.8 kB / 0.5569 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.01104, allocations: 110.8 kB / 0.557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.01108, allocations: 24.48 kB / 0.557 GB, free: 15.34 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01108, allocations: 0 / 0.557 GB, free: 15.34 MB / 490.7 MB Notification: Performance of Templates: time 0.002954/0.01403, allocations: 2.751 MB / 0.5597 GB, free: 12.61 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.027083662338555] Failed to read output from testmodel.py, exit status != 0: 0.01793251745402813 0.02568118 0.018788251000000002 Calling exit ...