Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.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.001893/0.001893, allocations: 87.73 kB / 20.24 MB, free: 4.039 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.002066/0.002066, allocations: 161.3 kB / 23.55 MB, free: 0.7266 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 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.9812/0.9812, allocations: 110.3 MB / 370.6 MB, free: 12.46 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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 474.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.046e-05, allocations: 4.938 kB / 474.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003485/0.003516, allocations: 1.504 MB / 475.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.004949, allocations: 0.5013 MB / 476.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.005035, allocations: 4.969 kB / 476.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.005159, allocations: 7.359 kB / 476.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.005243, allocations: 15.53 kB / 476.4 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.005596, allocations: 45.53 kB / 476.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.005815, allocations: 100.6 kB / 476.6 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.005924, allocations: 14.58 kB / 476.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.006207, allocations: 72.8 kB / 476.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.006322, allocations: 32.52 kB / 476.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.006364, allocations: 12.02 kB / 476.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.006428, allocations: 11.62 kB / 476.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.006477, allocations: 13.88 kB / 476.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.006557, allocations: 34.86 kB / 476.8 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.006789, allocations: 99.55 kB / 476.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.006793, allocations: 0 / 476.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006795, allocations: 0 / 476.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.0068, allocations: 0 / 476.9 MB, free: 13.72 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007662/0.007567, allocations: 478.9 kB / 477.3 MB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.007617, allocations: 11.34 kB / 477.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.007862, allocations: 21.97 kB / 477.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.008112, allocations: 138.4 kB / 477.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.008136, allocations: 9.438 kB / 477.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.008166, allocations: 10.38 kB / 477.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.00857, allocations: 133.7 kB / 477.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.008583, allocations: 1.75 kB / 477.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.008608, allocations: 10.91 kB / 477.7 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008614, allocations: 0 / 477.7 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.009015, allocations: 104.2 kB / 477.8 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.009724, allocations: 313 kB / 478.1 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.01014, allocations: 134.7 kB / 478.2 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.01037, allocations: 95.92 kB / 478.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.0104, allocations: 3.812 kB / 478.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.01081, allocations: 155.8 kB / 478.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.817e-06/0.01082, allocations: 3.984 kB / 478.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001042/0.01186, allocations: 324.4 kB / 478.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.01191, allocations: 83.8 kB / 478.9 MB, free: 12.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.01205, allocations: 204.9 kB / 479.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.01208, allocations: 29.55 kB / 479.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.01236, allocations: 145 kB / 479.2 MB, free: 27.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.0124, allocations: 21.72 kB / 479.3 MB, free: 27.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.0125, allocations: 42.36 kB / 479.3 MB, free: 27.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003681/0.01287, allocations: 0.4916 MB / 479.8 MB, free: 27.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.01315, allocations: 117.9 kB / 479.9 MB, free: 27.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.01341, allocations: 117.7 kB / 480 MB, free: 27.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.0138, allocations: 177.2 kB / 480.2 MB, free: 26.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.0138, allocations: 0 / 480.2 MB, free: 26.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007155/0.01452, allocations: 311.4 kB / 480.5 MB, free: 26.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.01458, allocations: 67.09 kB / 480.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01459, allocations: 0.625 kB / 480.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.01461, allocations: 3.938 kB / 480.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.01481, allocations: 15.33 kB / 480.6 MB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01482, allocations: 3.938 kB / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.01505, allocations: 19.75 kB / 480.6 MB, free: 26.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.01508, allocations: 8.875 kB / 480.6 MB, free: 26.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0002509/0.01533, allocations: 197.5 kB / 480.8 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.01539, allocations: 20.7 kB / 480.8 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.01544, allocations: 14.8 kB / 480.8 MB, free: 26.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01544, allocations: 2.344 kB / 480.8 MB, free: 26.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01544, allocations: 0 / 480.8 MB, free: 26.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01545, allocations: 256 / 480.8 MB, free: 26.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.01565, allocations: 139.9 kB / 481 MB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.01565, allocations: 4 kB / 481 MB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.01576, allocations: 15.92 kB / 481 MB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.01577, allocations: 0.6562 kB / 481 MB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.01579, allocations: 2.781 kB / 481 MB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.0158, allocations: 4.234 kB / 481 MB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.0158, allocations: 0 / 481 MB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.01657, allocations: 278.2 kB / 481.3 MB, free: 26.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.0166, allocations: 12.23 kB / 481.3 MB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.01665, allocations: 9.062 kB / 481.3 MB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.01684, allocations: 16.64 kB / 481.3 MB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.01704, allocations: 37.56 kB / 481.4 MB, free: 26.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.01706, allocations: 8 kB / 481.4 MB, free: 26.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.0172, allocations: 147.1 kB / 481.5 MB, free: 25.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0172, allocations: 0 / 481.5 MB, free: 25.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.01759, allocations: 24.56 kB / 481.5 MB, free: 25.98 MB / 426.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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001691/0.01776, allocations: 101.8 kB / 481.6 MB, free: 25.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008449/0.0186, allocations: 355.8 kB / 482 MB, free: 25.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.0186, allocations: 0 / 482 MB, free: 25.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.01901, allocations: 176.4 kB / 482.1 MB, free: 25.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.01937, allocations: 17.94 kB / 482.2 MB, free: 25.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.02013, allocations: 260.2 kB / 482.4 MB, free: 25.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.054e-05/0.02021, allocations: 81.84 kB / 482.5 MB, free: 25.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.023e-05/0.0203, allocations: 10.11 kB / 482.5 MB, free: 25.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.02037, allocations: 14.53 kB / 482.5 MB, free: 25.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02037, allocations: 3.938 kB / 482.5 MB, free: 25.19 MB / 426.7 MB Notification: Performance of Templates: time 0.00901/0.02938, allocations: 2.041 MB / 484.6 MB, free: 25.05 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.695078474935144]