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.001326/0.001326, allocations: 79.7 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.00152/0.00152, allocations: 167.3 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.589/1.589, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.977/0.977, allocations: 110.3 MB / 369.4 MB, free: 1.188 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.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.856e-06/2.856e-06, allocations: 0 / 0.5477 GB, free: 9.902 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.654e-05, allocations: 6.219 kB / 0.5477 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003801/0.003838, allocations: 1.481 MB / 0.5492 GB, free: 8.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.005135, allocations: 0.4951 MB / 0.5497 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.00523, allocations: 0 / 0.5497 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.005355, allocations: 3.938 kB / 0.5497 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.005433, allocations: 23.78 kB / 0.5497 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.005819, allocations: 50.89 kB / 0.5497 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.006086, allocations: 107.7 kB / 0.5498 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.006209, allocations: 4.188 kB / 0.5498 GB, free: 7.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.006529, allocations: 79.73 kB / 0.5499 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.006636, allocations: 27.91 kB / 0.5499 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.00667, allocations: 8 kB / 0.5499 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.006732, allocations: 19.98 kB / 0.55 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.00679, allocations: 15.94 kB / 0.55 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.006869, allocations: 31.95 kB / 0.55 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.007133, allocations: 95.73 kB / 0.5501 GB, free: 7.457 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.00714, allocations: 4 kB / 0.5501 GB, free: 7.453 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.007142, allocations: 0 / 0.5501 GB, free: 7.453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.007149, allocations: 0 / 0.5501 GB, free: 7.453 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009159/0.008065, allocations: 373.4 kB / 0.5505 GB, free: 7.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.008108, allocations: 8.031 kB / 0.5505 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.008314, allocations: 24.88 kB / 0.5505 GB, free: 7.016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.008651, allocations: 148.1 kB / 0.5506 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.008672, allocations: 8.375 kB / 0.5506 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.008702, allocations: 8.312 kB / 0.5507 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.009122, allocations: 143.9 kB / 0.5508 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.009135, allocations: 192 / 0.5508 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.009159, allocations: 8.125 kB / 0.5508 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.009164, allocations: 0 / 0.5508 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.009538, allocations: 121.6 kB / 0.5509 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.01019, allocations: 260.5 kB / 0.5512 GB, free: 6.262 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.01059, allocations: 132.1 kB / 0.5513 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.01082, allocations: 94.58 kB / 0.5514 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.01085, allocations: 0 / 0.5514 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.01123, allocations: 161 kB / 0.5515 GB, free: 5.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.01123, allocations: 0 / 0.5515 GB, free: 5.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008899/0.01212, allocations: 334.5 kB / 0.5518 GB, free: 5.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.01229, allocations: 85.11 kB / 0.5519 GB, free: 5.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01245, allocations: 134 kB / 0.5521 GB, free: 5.242 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.01248, allocations: 29.7 kB / 0.5521 GB, free: 5.207 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.01257, allocations: 104.1 kB / 0.5522 GB, free: 5.102 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.0126, allocations: 15.91 kB / 0.5522 GB, free: 5.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.01268, allocations: 29.7 kB / 0.5522 GB, free: 5.051 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.01285, allocations: 318.8 kB / 0.5525 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.01311, allocations: 123.3 kB / 0.5527 GB, free: 4.598 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.01336, allocations: 131.3 kB / 0.5528 GB, free: 4.457 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.01375, allocations: 181.9 kB / 0.553 GB, free: 4.258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01376, allocations: 0 / 0.553 GB, free: 4.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006565/0.01441, allocations: 328.2 kB / 0.5533 GB, free: 3.906 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.01449, allocations: 67.39 kB / 0.5533 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.0145, allocations: 256 / 0.5533 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.01452, allocations: 0 / 0.5533 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.01466, allocations: 15.98 kB / 0.5533 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01466, allocations: 0 / 0.5533 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.01483, allocations: 35.86 kB / 0.5534 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.01485, allocations: 8 kB / 0.5534 GB, free: 3.77 MB / 462.1 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.0002446/0.01509, allocations: 152.1 kB / 0.5535 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.01513, allocations: 19.83 kB / 0.5535 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.01517, allocations: 12.77 kB / 0.5536 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.01517, allocations: 4 kB / 0.5536 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.01518, allocations: 0 / 0.5536 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01518, allocations: 0 / 0.5536 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.01535, allocations: 133.4 kB / 0.5537 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01536, allocations: 0 / 0.5537 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.01545, allocations: 15.92 kB / 0.5537 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.01546, allocations: 4 kB / 0.5537 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.01548, allocations: 3.984 kB / 0.5537 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01548, allocations: 0 / 0.5537 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01548, allocations: 0 / 0.5537 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.01608, allocations: 280.3 kB / 0.554 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.0161, allocations: 15.97 kB / 0.554 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.01613, allocations: 7.938 kB / 0.554 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.01629, allocations: 19.97 kB / 0.554 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.01644, allocations: 39.95 kB / 0.5541 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01646, allocations: 0 / 0.5541 GB, free: 3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.01654, allocations: 105.8 kB / 0.5542 GB, free: 2.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01654, allocations: 0 / 0.5542 GB, free: 2.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.01677, allocations: 20 kB / 0.5542 GB, free: 2.879 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: 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.0001811/0.01696, allocations: 111.2 kB / 0.5543 GB, free: 2.758 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.01765, allocations: 347.7 kB / 0.5546 GB, free: 2.375 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01765, allocations: 0 / 0.5546 GB, free: 2.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.01798, allocations: 157 kB / 0.5548 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01823, allocations: 14.03 kB / 0.5548 GB, free: 2.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.01891, allocations: 251.2 kB / 0.555 GB, free: 1.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.826e-05/0.01901, allocations: 73.91 kB / 0.5551 GB, free: 1.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.01907, allocations: 11.98 kB / 0.5551 GB, free: 1.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.01912, allocations: 16.5 kB / 0.5551 GB, free: 1.793 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01912, allocations: 0 / 0.5551 GB, free: 1.793 MB / 462.1 MB Notification: Performance of Templates: time 0.006753/0.02587, allocations: 2.021 MB / 0.5571 GB, free: 15.8 MB / 478.1 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.980742763727903] Failed to read output from testmodel.py, exit status != 0: 0.036969710141420364 0.054528987 0.043806105000000005 Calling exit ...