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.001599/0.001599, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001481/0.001481, allocations: 214.3 kB / 22.25 MB, free: 5.242 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.002842/0.002842, allocations: 286.8 kB / 312.7 MB, free: 2.688 MB / 238.1 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 1.253/1.253, allocations: 180.6 MB / 0.5369 GB, free: 14.6 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003092/0.003092, allocations: 112.4 kB / 0.74 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1558, allocations: 95.38 MB / 0.8331 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002826/0.1586, allocations: 1.489 MB / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1596, allocations: 0.4964 MB / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.1597, allocations: 0 / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.016e-05/0.1598, allocations: 3.938 kB / 0.835 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.1599, allocations: 23.86 kB / 0.8351 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1601, allocations: 43.88 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1603, allocations: 103.8 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.1604, allocations: 8.188 kB / 0.8352 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1606, allocations: 55.77 kB / 0.8353 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.1607, allocations: 39.83 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.1607, allocations: 8 kB / 0.8353 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-05/0.1608, allocations: 16 kB / 0.8353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.1608, allocations: 11.98 kB / 0.8353 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.1609, allocations: 35.86 kB / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1611, allocations: 95.62 kB / 0.8355 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.1611, allocations: 0 / 0.8355 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1611, allocations: 0 / 0.8355 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1611, allocations: 3.938 kB / 0.8355 GB, free: 5.414 MB / 0.5762 GB 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.0007088/0.1618, allocations: 381.4 kB / 0.8358 GB, free: 5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1618, allocations: 9.344 kB / 0.8358 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.162, allocations: 20.88 kB / 0.8359 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1622, allocations: 138.4 kB / 0.836 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1622, allocations: 8.375 kB / 0.836 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1623, allocations: 4.375 kB / 0.836 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.1626, allocations: 155.4 kB / 0.8361 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1626, allocations: 0 / 0.8361 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1626, allocations: 4 kB / 0.8361 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.1627, allocations: 3.984 kB / 0.8362 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.163, allocations: 121.6 kB / 0.8363 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.1636, allocations: 260.4 kB / 0.8365 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.1639, allocations: 128.2 kB / 0.8366 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.1641, allocations: 94.64 kB / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.1641, allocations: 0 / 0.8367 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.1645, allocations: 165 kB / 0.8369 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1645, allocations: 0 / 0.8369 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007976/0.1653, allocations: 334.5 kB / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.1653, allocations: 89.09 kB / 0.8373 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1655, allocations: 130.1 kB / 0.8374 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1655, allocations: 29.7 kB / 0.8374 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1656, allocations: 96.09 kB / 0.8375 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1656, allocations: 23.84 kB / 0.8376 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.1657, allocations: 29.7 kB / 0.8376 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1658, allocations: 326.8 kB / 0.8379 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.166, allocations: 123.6 kB / 0.838 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.1663, allocations: 123.3 kB / 0.8381 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.1666, allocations: 189.8 kB / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1666, allocations: 4 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005943/0.1672, allocations: 316.5 kB / 0.8386 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.1673, allocations: 75.27 kB / 0.8387 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1673, allocations: 4 kB / 0.8387 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1673, allocations: 0 / 0.8387 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1674, allocations: 15.92 kB / 0.8387 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1674, allocations: 4.141 kB / 0.8387 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.1676, allocations: 27.97 kB / 0.8387 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.1676, allocations: 8 kB / 0.8387 GB, free: 1.719 MB / 0.5762 GB 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.0001317/0.1677, allocations: 152.1 kB / 0.8389 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1678, allocations: 15.95 kB / 0.8389 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.1678, allocations: 8.719 kB / 0.8389 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1678, allocations: 0 / 0.8389 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1678, allocations: 4 kB / 0.8389 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1678, allocations: 0 / 0.8389 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1679, allocations: 129.2 kB / 0.839 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1679, allocations: 4 kB / 0.839 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.168, allocations: 11.98 kB / 0.8391 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.168, allocations: 3.984 kB / 0.8391 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1681, allocations: 4 kB / 0.8391 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1681, allocations: 0 / 0.8391 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1681, allocations: 0 / 0.8391 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.1686, allocations: 284.3 kB / 0.8393 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.1686, allocations: 11.88 kB / 0.8393 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.1687, allocations: 12 kB / 0.8394 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1688, allocations: 19.97 kB / 0.8394 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.1689, allocations: 31.97 kB / 0.8394 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1689, allocations: 7.984 kB / 0.8394 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.548e-05/0.169, allocations: 101.2 kB / 0.8395 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.169, allocations: 0 / 0.8395 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002198/0.1692, allocations: 24 kB / 0.8395 GB, free: 0.8281 MB / 0.5762 GB 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.0001063/0.1693, allocations: 101.1 kB / 0.8396 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005922/0.1699, allocations: 351.8 kB / 0.84 GB, free: 344 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1699, allocations: 0 / 0.84 GB, free: 344 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.1702, allocations: 165 kB / 0.8401 GB, free: 160 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1704, allocations: 19 kB / 0.8401 GB, free: 144 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/0.171, allocations: 261.1 kB / 0.8404 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.1711, allocations: 71.58 kB / 0.8405 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.1711, allocations: 15.92 kB / 0.8405 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.1712, allocations: 11.44 kB / 0.8405 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.1712, allocations: 3.938 kB / 0.8405 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.005232/0.1764, allocations: 2.068 MB / 0.8425 GB, free: 13.69 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.110912252217531] Failed to read output from testmodel.py, exit status != 0: 0.18370694108307362 0.19939974300000002 0.035232353 Calling exit ...