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.00132/0.00132, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001435/0.001435, allocations: 168.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.9447/0.9447, allocations: 110.3 MB / 369.4 MB, free: 1.164 MB / 334.1 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.433e-06/1.433e-06, allocations: 0 / 0.5478 GB, free: 9.828 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.625e-05, allocations: 2.281 kB / 0.5478 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003075/0.003101, allocations: 1.78 MB / 0.5495 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.005263, allocations: 1.189 MB / 0.5507 GB, free: 6.844 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.005346, allocations: 3.938 kB / 0.5507 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.00565, allocations: 63.61 kB / 0.5507 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.005997, allocations: 123.4 kB / 0.5509 GB, free: 6.656 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.006533, allocations: 206.2 kB / 0.551 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.006777, allocations: 151.6 kB / 0.5512 GB, free: 6.309 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.006885, allocations: 21.61 kB / 0.5512 GB, free: 6.285 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.007026, allocations: 83.75 kB / 0.5513 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.007141, allocations: 63.8 kB / 0.5514 GB, free: 6.141 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.007175, allocations: 8 kB / 0.5514 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.007351, allocations: 83.86 kB / 0.5514 GB, free: 6.051 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.00743, allocations: 39.78 kB / 0.5515 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.007497, allocations: 43.84 kB / 0.5515 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.007825, allocations: 207.4 kB / 0.5517 GB, free: 5.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007828, allocations: 0 / 0.5517 GB, free: 5.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007829, allocations: 0 / 0.5517 GB, free: 5.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.007836, allocations: 3.984 kB / 0.5517 GB, free: 5.762 MB / 462.1 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.000693/0.008529, allocations: 425.5 kB / 0.5521 GB, free: 5.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.008562, allocations: 12.03 kB / 0.5521 GB, free: 5.301 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.008617, allocations: 20.8 kB / 0.5522 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.008962, allocations: 197.3 kB / 0.5523 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.008975, allocations: 4.375 kB / 0.5524 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.008994, allocations: 8.375 kB / 0.5524 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.009221, allocations: 113.6 kB / 0.5525 GB, free: 4.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.009232, allocations: 3.938 kB / 0.5525 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.009248, allocations: 8 kB / 0.5525 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.009261, allocations: 0 / 0.5525 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.009377, allocations: 39.91 kB / 0.5525 GB, free: 4.871 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.009878, allocations: 288.4 kB / 0.5528 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.01013, allocations: 98.61 kB / 0.5529 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.01021, allocations: 32.84 kB / 0.5529 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.01022, allocations: 0 / 0.5529 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.0104, allocations: 83.38 kB / 0.553 GB, free: 4.324 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.0104, allocations: 0 / 0.553 GB, free: 4.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.000401/0.0108, allocations: 149.5 kB / 0.5531 GB, free: 4.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.01086, allocations: 81.05 kB / 0.5532 GB, free: 4.074 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.01119, allocations: 279.2 kB / 0.5535 GB, free: 3.789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.01122, allocations: 29.7 kB / 0.5535 GB, free: 3.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.01133, allocations: 120.1 kB / 0.5536 GB, free: 3.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.01137, allocations: 19.78 kB / 0.5536 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.01143, allocations: 33.72 kB / 0.5537 GB, free: 3.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.01163, allocations: 330.8 kB / 0.554 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.01171, allocations: 27.98 kB / 0.554 GB, free: 3.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01186, allocations: 110.8 kB / 0.5541 GB, free: 3.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.01203, allocations: 77.56 kB / 0.5542 GB, free: 3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01203, allocations: 0 / 0.5542 GB, free: 3 MB / 462.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002567/0.01229, allocations: 117.5 kB / 0.5543 GB, free: 2.879 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01231, allocations: 11.98 kB / 0.5543 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01232, allocations: 4.062 kB / 0.5543 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.01234, allocations: 0 / 0.5543 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01245, allocations: 15.94 kB / 0.5543 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.01245, allocations: 0 / 0.5543 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.01252, allocations: 7.984 kB / 0.5544 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.01254, allocations: 4 kB / 0.5544 GB, free: 2.836 MB / 462.1 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.0001565/0.01269, allocations: 146.5 kB / 0.5545 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.01273, allocations: 19.86 kB / 0.5545 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.01306, allocations: 131 kB / 0.5546 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.01307, allocations: 8 kB / 0.5546 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.01308, allocations: 0 / 0.5546 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01308, allocations: 0 / 0.5546 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.01329, allocations: 169.2 kB / 0.5548 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01329, allocations: 0 / 0.5548 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.01333, allocations: 4 kB / 0.5548 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.01334, allocations: 4 kB / 0.5548 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.01336, allocations: 7.984 kB / 0.5548 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01336, allocations: 0 / 0.5548 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01336, allocations: 192 / 0.5548 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.01365, allocations: 160.8 kB / 0.555 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.01368, allocations: 23.84 kB / 0.555 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.01371, allocations: 4 kB / 0.555 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.01377, allocations: 7.984 kB / 0.555 GB, free: 2.105 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.01383, allocations: 7.984 kB / 0.555 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.01384, allocations: 0 / 0.555 GB, free: 2.098 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.01407, allocations: 208.6 kB / 0.5552 GB, free: 1.895 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01407, allocations: 0 / 0.5552 GB, free: 1.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.01432, allocations: 35.94 kB / 0.5553 GB, free: 1.859 MB / 462.1 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.001637/0.01596, allocations: 457.1 kB / 0.5557 GB, free: 1.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.01619, allocations: 71.95 kB / 0.5558 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01619, allocations: 0 / 0.5558 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.0163, allocations: 39.91 kB / 0.5558 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.01659, allocations: 45.22 kB / 0.5558 GB, free: 1.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.01716, allocations: 306.1 kB / 0.5561 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.01728, allocations: 118.8 kB / 0.5562 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.01735, allocations: 21.8 kB / 0.5563 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.0174, allocations: 16.5 kB / 0.5563 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.0174, allocations: 0 / 0.5563 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of Templates: time 0.006692/0.02409, allocations: 2.676 MB / 0.5589 GB, free: 14.3 MB / 478.1 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.583422664552927] Failed to read output from testmodel.py, exit status != 0: 0.03260223940014839 0.047642921000000005 0.036690989 Calling exit ...