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.0006942/0.0006942, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009206/0.001615, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006803/0.0006803, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009152/0.001596, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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.9865/0.9865, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08663/1.073, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.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.5837/0.5837, allocations: 110.3 MB / 354.4 MB, free: 12.29 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06209/0.6458, allocations: 34.96 MB / 389.4 MB, free: 9.238 MB / 378.7 MB " [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 2.064e-06/2.064e-06, allocations: 3.938 kB / 390.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.908e-05, allocations: 2.312 kB / 390.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002528/0.002557, allocations: 1.862 MB / 392.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.004157, allocations: 1.255 MB / 393.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.004242, allocations: 0 / 393.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.004456, allocations: 63.61 kB / 393.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.004706, allocations: 123.3 kB / 394.1 MB, free: 4.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.005153, allocations: 203.2 kB / 394.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005334, allocations: 159.5 kB / 394.4 MB, free: 4.207 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.00542, allocations: 14.3 kB / 394.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.005565, allocations: 123.7 kB / 394.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.005663, allocations: 63.8 kB / 394.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.005679, allocations: 12 kB / 394.6 MB, free: 3.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.005847, allocations: 79.81 kB / 394.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.005909, allocations: 35.86 kB / 394.7 MB, free: 3.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.005948, allocations: 19.94 kB / 394.8 MB, free: 3.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.006173, allocations: 159.4 kB / 394.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.006186, allocations: 0 / 394.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006187, allocations: 0 / 394.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.006201, allocations: 0 / 394.9 MB, free: 3.707 MB / 378.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.0005106/0.006712, allocations: 421.1 kB / 395.3 MB, free: 3.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.006742, allocations: 12.03 kB / 395.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.006783, allocations: 12.92 kB / 395.4 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.006966, allocations: 177.5 kB / 395.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.006984, allocations: 384 / 395.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.007007, allocations: 8.312 kB / 395.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.007136, allocations: 73.73 kB / 395.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.007145, allocations: 11.94 kB / 395.6 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.007154, allocations: 0 / 395.6 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.00717, allocations: 0 / 395.6 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.896e-05/0.007199, allocations: 11.98 kB / 395.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.007482, allocations: 205.7 kB / 395.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.007595, allocations: 104.1 kB / 395.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.007621, allocations: 20.84 kB / 396 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.007633, allocations: 3.938 kB / 396 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.007747, allocations: 66.23 kB / 396 MB, free: 2.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.007748, allocations: 4 kB / 396 MB, free: 2.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001385/0.007887, allocations: 69.66 kB / 396.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.007909, allocations: 51.41 kB / 396.1 MB, free: 2.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.008048, allocations: 220.2 kB / 396.4 MB, free: 2.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.008071, allocations: 33.7 kB / 396.4 MB, free: 2.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.00812, allocations: 104.5 kB / 396.5 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.00814, allocations: 11.91 kB / 396.5 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.008174, allocations: 29.69 kB / 396.5 MB, free: 1.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.008278, allocations: 330.8 kB / 396.9 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.008309, allocations: 10.83 kB / 396.9 MB, free: 1.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.008356, allocations: 60.19 kB / 396.9 MB, free: 1.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.008404, allocations: 43.36 kB / 397 MB, free: 1.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008406, allocations: 0 / 397 MB, free: 1.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.895e-05/0.008485, allocations: 80.39 kB / 397 MB, free: 1.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.008495, allocations: 4 kB / 397.1 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.008501, allocations: 0 / 397.1 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.008511, allocations: 4 kB / 397.1 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.008579, allocations: 15.98 kB / 397.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.008582, allocations: 0 / 397.1 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.008618, allocations: 11.89 kB / 397.1 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.008624, allocations: 4 kB / 397.1 MB, free: 1.332 MB / 378.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.0003501/0.008974, allocations: 120.6 kB / 397.2 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.008989, allocations: 19.95 kB / 397.2 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.009093, allocations: 71.14 kB / 397.3 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.009102, allocations: 4 kB / 397.3 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.009103, allocations: 0 / 397.3 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.009108, allocations: 3.984 kB / 397.3 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.329e-05/0.009201, allocations: 105.8 kB / 397.4 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.009204, allocations: 7.922 kB / 397.4 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.009232, allocations: 11.94 kB / 397.4 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.009248, allocations: 19.83 kB / 397.4 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.00925, allocations: 0 / 397.4 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.009257, allocations: 8 kB / 397.5 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.009259, allocations: 0 / 397.5 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.009259, allocations: 4 kB / 397.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.582e-05/0.009335, allocations: 94.75 kB / 397.5 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.009351, allocations: 3.938 kB / 397.6 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.009373, allocations: 7.938 kB / 397.6 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.009405, allocations: 11.98 kB / 397.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.009413, allocations: 0 / 397.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.676e-05/0.00949, allocations: 71.61 kB / 397.6 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00949, allocations: 0 / 397.6 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.009631, allocations: 35.94 kB / 397.7 MB, free: 0.6758 MB / 378.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.00123/0.01086, allocations: 0.5757 MB / 398.3 MB, free: 132 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.01098, allocations: 44.75 kB / 398.3 MB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.01099, allocations: 4 kB / 398.3 MB, free: 80 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.337e-05/0.01104, allocations: 32.78 kB / 398.3 MB, free: 44 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01127, allocations: 222.8 kB / 398.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.01186, allocations: 276.4 kB / 398.8 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.01192, allocations: 79.69 kB / 398.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.752e-05/0.01198, allocations: 17.95 kB / 398.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.01207, allocations: 75.3 kB / 399 MB, free: 15.3 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01207, allocations: 0 / 399 MB, free: 15.3 MB / 394.7 MB Notification: Performance of Templates: time 0.004803/0.01688, allocations: 2.922 MB / 401.9 MB, free: 12.38 MB / 394.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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2363800862804055]