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.001016/0.001016, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.0009654/0.0009654, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9915/0.9915, allocations: 177.1 MB / 204.6 MB, free: 5.012 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.5758/0.5758, allocations: 110.2 MB / 371.3 MB, free: 12.22 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.573e-06/1.573e-06, allocations: 0 / 422.3 MB, free: 9.383 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.185e-05, allocations: 6.25 kB / 422.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001913/0.001934, allocations: 1.525 MB / 423.9 MB, free: 7.832 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.002645, allocations: 0.518 MB / 424.4 MB, free: 7.309 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.002703, allocations: 0 / 424.4 MB, free: 7.309 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.89e-05/0.002792, allocations: 11.88 kB / 424.4 MB, free: 7.297 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.002836, allocations: 11.86 kB / 424.4 MB, free: 7.285 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.003074, allocations: 51.88 kB / 424.5 MB, free: 7.234 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003209, allocations: 103.7 kB / 424.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.407e-05/0.003283, allocations: 8.188 kB / 424.6 MB, free: 7.125 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.003454, allocations: 75.8 kB / 424.7 MB, free: 7.051 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.003519, allocations: 23.97 kB / 424.7 MB, free: 7.027 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.003539, allocations: 8 kB / 424.7 MB, free: 7.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.083e-05/0.00358, allocations: 15.94 kB / 424.7 MB, free: 7.004 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.003612, allocations: 15.97 kB / 424.7 MB, free: 6.988 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.003652, allocations: 31.91 kB / 424.7 MB, free: 6.957 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.003771, allocations: 79.72 kB / 424.8 MB, free: 6.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003774, allocations: 8 kB / 424.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.003775, allocations: 0 / 424.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003779, allocations: 0 / 424.8 MB, free: 6.871 MB / 394.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.000394/0.004173, allocations: 348 kB / 425.2 MB, free: 6.496 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.004203, allocations: 8.031 kB / 425.2 MB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.004303, allocations: 24.92 kB / 425.2 MB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004436, allocations: 133.6 kB / 425.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.004446, allocations: 4.375 kB / 425.3 MB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.004461, allocations: 8.375 kB / 425.3 MB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.004618, allocations: 132.6 kB / 425.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004624, allocations: 192 / 425.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.004637, allocations: 8.109 kB / 425.5 MB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.004642, allocations: 4 kB / 425.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.00469, allocations: 57.62 kB / 425.5 MB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.004943, allocations: 187.1 kB / 425.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.005026, allocations: 72.27 kB / 425.8 MB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.005064, allocations: 54.67 kB / 425.9 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.005076, allocations: 8 kB / 425.9 MB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.005194, allocations: 121 kB / 426 MB, free: 5.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.005195, allocations: 0 / 426 MB, free: 5.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001739/0.005369, allocations: 198.7 kB / 426.2 MB, free: 5.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.005405, allocations: 85.09 kB / 426.3 MB, free: 5.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.00547, allocations: 134.6 kB / 426.4 MB, free: 5.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.005492, allocations: 33.7 kB / 426.4 MB, free: 5.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.005528, allocations: 88.12 kB / 426.5 MB, free: 4.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.005543, allocations: 19.84 kB / 426.5 MB, free: 4.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.005584, allocations: 33.69 kB / 426.6 MB, free: 4.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.005655, allocations: 322.8 kB / 426.9 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.005704, allocations: 83.33 kB / 427 MB, free: 4.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.00575, allocations: 83.39 kB / 427 MB, free: 4.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.005832, allocations: 132.8 kB / 427.2 MB, free: 4.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005834, allocations: 0 / 427.2 MB, free: 4.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001289/0.005963, allocations: 212.3 kB / 427.4 MB, free: 4.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.005997, allocations: 59.41 kB / 427.4 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006001, allocations: 256 / 427.4 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.006011, allocations: 3.984 kB / 427.4 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.006074, allocations: 20 kB / 427.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006076, allocations: 0 / 427.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.006137, allocations: 27.92 kB / 427.5 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.006146, allocations: 4 kB / 427.5 MB, free: 3.906 MB / 394.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 7.64e-05/0.006223, allocations: 150.4 kB / 427.6 MB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.006239, allocations: 15.92 kB / 427.6 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.006258, allocations: 8.781 kB / 427.7 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.00626, allocations: 4 kB / 427.7 MB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006262, allocations: 0 / 427.7 MB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006266, allocations: 3.984 kB / 427.7 MB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.278e-05/0.006328, allocations: 77.88 kB / 427.7 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006329, allocations: 4 kB / 427.7 MB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.006356, allocations: 15.92 kB / 427.8 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006357, allocations: 0 / 427.8 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.006365, allocations: 4 kB / 427.8 MB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.006367, allocations: 7.938 kB / 427.8 MB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006368, allocations: 0 / 427.8 MB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.006498, allocations: 168.5 kB / 427.9 MB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.006509, allocations: 11.89 kB / 427.9 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.006525, allocations: 4 kB / 428 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.006571, allocations: 27.86 kB / 428 MB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.006649, allocations: 35.95 kB / 428 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.006656, allocations: 4 kB / 428 MB, free: 3.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.239e-05/0.006679, allocations: 24.83 kB / 428 MB, free: 3.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006679, allocations: 0 / 428 MB, free: 3.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.006788, allocations: 24 kB / 428.1 MB, free: 3.258 MB / 394.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 7.457e-05/0.006863, allocations: 84.36 kB / 428.1 MB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.007037, allocations: 272.7 kB / 428.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.00704, allocations: 0 / 428.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.00712, allocations: 129.9 kB / 428.5 MB, free: 2.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.007225, allocations: 19.98 kB / 428.6 MB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.007663, allocations: 241.4 kB / 428.8 MB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.886e-05/0.007691, allocations: 63.34 kB / 428.9 MB, free: 2.332 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.007721, allocations: 11.97 kB / 428.9 MB, free: 2.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.694e-05/0.007808, allocations: 79.38 kB / 428.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.007809, allocations: 0 / 428.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of Templates: time 0.003327/0.01114, allocations: 2.105 MB / 431.1 MB, free: 144 kB / 394.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: 2.9957856186665595]