Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000905/0.000905, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009527/0.0009527, allocations: 181 kB / 23.36 MB, free: 1.129 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.8854/0.8854, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001532/0.001532, allocations: 240.3 kB / 260.5 MB, free: 12.72 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6656/0.6656, allocations: 138.4 MB / 402.2 MB, free: 0.5977 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.084e-05, allocations: 5.031 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002755/0.002776, allocations: 1.532 MB / 463.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003843, allocations: 0.5172 MB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.003916, allocations: 2.141 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.004017, allocations: 6.578 kB / 464.3 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.004081, allocations: 12.39 kB / 464.3 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.004401, allocations: 47.42 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.004592, allocations: 102 kB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.004685, allocations: 19.25 kB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.004929, allocations: 71.2 kB / 464.6 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.005023, allocations: 39.66 kB / 464.6 MB, free: 15.47 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.005047, allocations: 8 kB / 464.6 MB, free: 15.47 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.005096, allocations: 11.88 kB / 464.6 MB, free: 15.47 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.005137, allocations: 15.33 kB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.005196, allocations: 28.34 kB / 464.7 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.005371, allocations: 78.31 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005375, allocations: 0.75 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.005376, allocations: 1.406 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.00538, allocations: 0 / 464.7 MB, free: 15.42 MB / 426.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.0005235/0.005903, allocations: 352.5 kB / 465.1 MB, free: 15.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.005938, allocations: 14.38 kB / 465.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.006092, allocations: 22.11 kB / 465.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.006276, allocations: 132.2 kB / 465.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.006293, allocations: 5 kB / 465.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.006312, allocations: 9.125 kB / 465.3 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.006544, allocations: 128.3 kB / 465.4 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006552, allocations: 2.609 kB / 465.4 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.006568, allocations: 11.12 kB / 465.4 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.006574, allocations: 1.125 kB / 465.4 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.006662, allocations: 62.03 kB / 465.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.007014, allocations: 180.2 kB / 465.6 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.007139, allocations: 77.73 kB / 465.7 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.007208, allocations: 58.02 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.007223, allocations: 3.406 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.007404, allocations: 123.8 kB / 465.9 MB, free: 14.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.007407, allocations: 0 / 465.9 MB, free: 14.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002563/0.007663, allocations: 191 kB / 466.1 MB, free: 14.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.007714, allocations: 86.05 kB / 466.2 MB, free: 14.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/0.007811, allocations: 137.7 kB / 466.3 MB, free: 14.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.007832, allocations: 28.61 kB / 466.3 MB, free: 14.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.007883, allocations: 98.81 kB / 466.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.007904, allocations: 13.2 kB / 466.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.007965, allocations: 32.95 kB / 466.5 MB, free: 13.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.008062, allocations: 320.6 kB / 466.8 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.008145, allocations: 81.64 kB / 466.9 MB, free: 13.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.008224, allocations: 88.12 kB / 467 MB, free: 13.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.008354, allocations: 136.3 kB / 467.1 MB, free: 13.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008357, allocations: 1.5 kB / 467.1 MB, free: 13.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002058/0.008562, allocations: 212.3 kB / 467.3 MB, free: 13.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.008615, allocations: 66.36 kB / 467.4 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.008621, allocations: 1.656 kB / 467.4 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.008633, allocations: 0.5938 kB / 467.4 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.415e-05/0.008727, allocations: 14.84 kB / 467.4 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00873, allocations: 1.062 kB / 467.4 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.008831, allocations: 25.75 kB / 467.4 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.008846, allocations: 4.5 kB / 467.4 MB, free: 13.13 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.0001077/0.008953, allocations: 150.9 kB / 467.6 MB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.00898, allocations: 15.88 kB / 467.6 MB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.00901, allocations: 13.14 kB / 467.6 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009012, allocations: 0 / 467.6 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.009016, allocations: 7.797 kB / 467.6 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.009019, allocations: 0 / 467.6 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.009127, allocations: 85.41 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009129, allocations: 0.6094 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.009182, allocations: 13.47 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.009185, allocations: 0 / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.009199, allocations: 4.094 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.009204, allocations: 7.5 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009205, allocations: 1 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.009416, allocations: 170.9 kB / 467.9 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.00943, allocations: 4.75 kB / 467.9 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.009454, allocations: 8.344 kB / 467.9 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.009542, allocations: 20.58 kB / 467.9 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.009654, allocations: 36.61 kB / 467.9 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.009665, allocations: 0.6094 kB / 467.9 MB, free: 12.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.009705, allocations: 31.41 kB / 468 MB, free: 12.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009705, allocations: 0.5312 kB / 468 MB, free: 12.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000207/0.009912, allocations: 24 kB / 468 MB, free: 12.63 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.0001102/0.01002, allocations: 88.14 kB / 468.1 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.01027, allocations: 266.4 kB / 468.3 MB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01028, allocations: 0.625 kB / 468.3 MB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.0104, allocations: 129.1 kB / 468.5 MB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.01054, allocations: 20.83 kB / 468.5 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.01136, allocations: 251 kB / 468.7 MB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.0114, allocations: 58.83 kB / 468.8 MB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.01144, allocations: 6.391 kB / 468.8 MB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.01156, allocations: 82.73 kB / 468.9 MB, free: 11.68 MB / 426.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01156, allocations: 0 / 468.9 MB, free: 11.68 MB / 426.7 MB Notification: Performance of Templates: time 0.00483/0.01639, allocations: 2.086 MB / 471 MB, free: 9.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2741313190199435]