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.0008636/0.0008636, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008049/0.0008049, allocations: 178.2 kB / 23.22 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.9391/0.9391, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.5584/0.5584, allocations: 110.2 MB / 370.2 MB, free: 12.63 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 1.984e-06/1.984e-06, allocations: 0 / 0.5485 GB, free: 8.328 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.971e-05, allocations: 8.188 kB / 0.5485 GB, free: 8.32 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002075/0.002105, allocations: 1.486 MB / 0.5499 GB, free: 6.816 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.00287, allocations: 0.4947 MB / 0.5504 GB, free: 6.316 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.002937, allocations: 0 / 0.5504 GB, free: 6.316 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.00305, allocations: 7.922 kB / 0.5504 GB, free: 6.309 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.003098, allocations: 19.86 kB / 0.5504 GB, free: 6.289 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.003395, allocations: 43.88 kB / 0.5505 GB, free: 6.246 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.003565, allocations: 107.7 kB / 0.5506 GB, free: 6.141 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003684, allocations: 12.17 kB / 0.5506 GB, free: 6.129 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.003877, allocations: 71.77 kB / 0.5506 GB, free: 6.059 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.003954, allocations: 35.88 kB / 0.5507 GB, free: 6.023 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.003976, allocations: 8 kB / 0.5507 GB, free: 6.016 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.004022, allocations: 12 kB / 0.5507 GB, free: 6.004 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.004067, allocations: 11.98 kB / 0.5507 GB, free: 5.992 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.004119, allocations: 35.92 kB / 0.5507 GB, free: 5.957 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.004293, allocations: 99.72 kB / 0.5508 GB, free: 5.859 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004295, allocations: 3.938 kB / 0.5508 GB, free: 5.855 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.004296, allocations: 0 / 0.5508 GB, free: 5.855 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004301, allocations: 0 / 0.5508 GB, free: 5.855 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005834/0.004885, allocations: 377.4 kB / 0.5512 GB, free: 5.445 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.004927, allocations: 12.03 kB / 0.5512 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.005054, allocations: 20.88 kB / 0.5512 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.005247, allocations: 140.2 kB / 0.5514 GB, free: 5.254 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.005261, allocations: 4.375 kB / 0.5514 GB, free: 5.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.005278, allocations: 8.375 kB / 0.5514 GB, free: 5.242 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.005518, allocations: 147.8 kB / 0.5515 GB, free: 5.086 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.005528, allocations: 4.188 kB / 0.5515 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.005545, allocations: 12.06 kB / 0.5515 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005551, allocations: 3.984 kB / 0.5515 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.00572, allocations: 117.6 kB / 0.5517 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.006125, allocations: 260.5 kB / 0.5519 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.006318, allocations: 128.1 kB / 0.552 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.006425, allocations: 98.58 kB / 0.5521 GB, free: 4.414 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.006441, allocations: 4 kB / 0.5521 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.006651, allocations: 157 kB / 0.5523 GB, free: 4.238 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.006652, allocations: 0 / 0.5523 GB, free: 4.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004751/0.007127, allocations: 342.5 kB / 0.5526 GB, free: 3.879 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.007179, allocations: 85.09 kB / 0.5527 GB, free: 3.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.007267, allocations: 134 kB / 0.5528 GB, free: 3.633 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.007283, allocations: 29.7 kB / 0.5528 GB, free: 3.598 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.007339, allocations: 96.09 kB / 0.5529 GB, free: 3.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.007355, allocations: 15.91 kB / 0.5529 GB, free: 3.484 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.007403, allocations: 33.7 kB / 0.553 GB, free: 3.445 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.007498, allocations: 322.8 kB / 0.5533 GB, free: 3.121 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.00762, allocations: 119.4 kB / 0.5534 GB, free: 2.992 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.007735, allocations: 123.3 kB / 0.5535 GB, free: 2.859 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.007923, allocations: 193.9 kB / 0.5537 GB, free: 2.648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007925, allocations: 0 / 0.5537 GB, free: 2.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003089/0.008233, allocations: 324.2 kB / 0.554 GB, free: 2.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.008278, allocations: 63.39 kB / 0.5541 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.008285, allocations: 0 / 0.5541 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.008298, allocations: 0 / 0.5541 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.008373, allocations: 15.98 kB / 0.5541 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008379, allocations: 0 / 0.5541 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.00845, allocations: 35.86 kB / 0.5541 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.008462, allocations: 4 kB / 0.5541 GB, free: 2.172 MB / 474.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 9.902e-05/0.008561, allocations: 163.5 kB / 0.5543 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.008574, allocations: 11.89 kB / 0.5543 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.008601, allocations: 12.78 kB / 0.5543 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008604, allocations: 0 / 0.5543 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.008608, allocations: 0 / 0.5543 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008611, allocations: 0 / 0.5543 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.625e-05/0.008707, allocations: 129.4 kB / 0.5544 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.00871, allocations: 11.92 kB / 0.5544 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.008747, allocations: 15.92 kB / 0.5545 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.008748, allocations: 0 / 0.5545 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.008761, allocations: 7.984 kB / 0.5545 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008762, allocations: 4 kB / 0.5545 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008763, allocations: 0 / 0.5545 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.009053, allocations: 276.6 kB / 0.5547 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.009069, allocations: 15.88 kB / 0.5547 GB, free: 1.461 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009086, allocations: 8 kB / 0.5548 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.009141, allocations: 19.98 kB / 0.5548 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.009244, allocations: 31.95 kB / 0.5548 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.009255, allocations: 11.98 kB / 0.5548 GB, free: 1.391 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.009303, allocations: 98.22 kB / 0.5549 GB, free: 1.297 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009303, allocations: 0 / 0.5549 GB, free: 1.297 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.009442, allocations: 28 kB / 0.5549 GB, free: 1.27 MB / 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: 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 8.904e-05/0.009531, allocations: 99.25 kB / 0.555 GB, free: 1.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.009879, allocations: 343.8 kB / 0.5554 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.00988, allocations: 0 / 0.5554 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.01002, allocations: 165 kB / 0.5555 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.01018, allocations: 18.12 kB / 0.5555 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.0106, allocations: 276.9 kB / 0.5558 GB, free: 280 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.408e-05/0.01065, allocations: 75.33 kB / 0.5559 GB, free: 184 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.01069, allocations: 16.48 kB / 0.5559 GB, free: 168 kB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01069, allocations: 0 / 0.5559 GB, free: 168 kB / 474.7 MB Notification: Performance of Templates: time 0.002452/0.01314, allocations: 1.492 MB / 0.5573 GB, free: 14.69 MB / 490.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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.212089393287897] Failed to read output from testmodel.py, exit status != 0: 0.018224925734102726 0.025780727000000003 0.019901655 Calling exit ...