Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001537/0.001537, allocations: 83.03 kB / 19.94 MB, free: 1.777 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.001675/0.001675, allocations: 163.2 kB / 23.22 MB, free: 4.902 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.356/1.356, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8863/0.8863, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.5546 GB, free: 2.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.878e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002418/0.002437, allocations: 1.486 MB / 0.5561 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.003359, allocations: 498.7 kB / 0.5566 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.003413, allocations: 8 kB / 0.5566 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 8.658e-05/0.003499, allocations: 11.86 kB / 0.5566 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.003552, allocations: 7.875 kB / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.003811, allocations: 55.8 kB / 0.5566 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.00398, allocations: 99.77 kB / 0.5567 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.004066, allocations: 8.172 kB / 0.5567 GB, free: 500 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.004261, allocations: 71.81 kB / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.00434, allocations: 31.89 kB / 0.5568 GB, free: 396 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.004367, allocations: 8 kB / 0.5568 GB, free: 388 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.837e-05/0.004415, allocations: 20 kB / 0.5569 GB, free: 368 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.004459, allocations: 19.91 kB / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.004518, allocations: 31.92 kB / 0.5569 GB, free: 316 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004692, allocations: 95.73 kB / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004694, allocations: 0 / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004694, allocations: 0 / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.004703, allocations: 3.938 kB / 0.557 GB, free: 216 kB / 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.0007441/0.005447, allocations: 384 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.005481, allocations: 12.62 kB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.005628, allocations: 20.88 kB / 0.5574 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.005822, allocations: 129.7 kB / 0.5575 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.005838, allocations: 8.375 kB / 0.5575 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.00586, allocations: 4.375 kB / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.006203, allocations: 151.9 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.006213, allocations: 4.172 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.006234, allocations: 12.11 kB / 0.5577 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.006239, allocations: 0 / 0.5577 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.006579, allocations: 125.6 kB / 0.5578 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.007062, allocations: 256.5 kB / 0.5581 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.00741, allocations: 128.2 kB / 0.5582 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.007638, allocations: 94.58 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.007653, allocations: 4 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.007982, allocations: 164.9 kB / 0.5584 GB, free: 14.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.007984, allocations: 0 / 0.5584 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007819/0.008765, allocations: 330.6 kB / 0.5588 GB, free: 14.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.008834, allocations: 89.09 kB / 0.5588 GB, free: 14.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.008958, allocations: 141.1 kB / 0.559 GB, free: 13.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.008983, allocations: 29.7 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.009059, allocations: 96.09 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.009085, allocations: 19.89 kB / 0.5591 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.009147, allocations: 25.72 kB / 0.5591 GB, free: 13.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.009288, allocations: 322.8 kB / 0.5594 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.009529, allocations: 127.3 kB / 0.5596 GB, free: 13.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.009748, allocations: 123.3 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.01012, allocations: 185.9 kB / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01012, allocations: 0 / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005862/0.01071, allocations: 328.3 kB / 0.5602 GB, free: 12.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.01077, allocations: 71.33 kB / 0.5602 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.01077, allocations: 0 / 0.5602 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.01078, allocations: 0 / 0.5602 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01089, allocations: 11.98 kB / 0.5603 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.0109, allocations: 8 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.01105, allocations: 23.91 kB / 0.5603 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.01107, allocations: 8 kB / 0.5603 GB, free: 12.52 MB / 478.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.0001384/0.01121, allocations: 156.6 kB / 0.5604 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.01123, allocations: 12.23 kB / 0.5605 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.01126, allocations: 20.72 kB / 0.5605 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.01126, allocations: 0 / 0.5605 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.01127, allocations: 4 kB / 0.5605 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01127, allocations: 4 kB / 0.5605 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.01141, allocations: 125.3 kB / 0.5606 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.01141, allocations: 4 kB / 0.5606 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.0115, allocations: 19.86 kB / 0.5606 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01151, allocations: 0 / 0.5606 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.01152, allocations: 0 / 0.5606 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01152, allocations: 4 kB / 0.5606 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01152, allocations: 0 / 0.5606 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.01207, allocations: 276.4 kB / 0.5609 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01209, allocations: 15.88 kB / 0.5609 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01211, allocations: 0 / 0.5609 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.01226, allocations: 27.97 kB / 0.5609 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.01238, allocations: 27.97 kB / 0.561 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.01239, allocations: 7.984 kB / 0.561 GB, free: 11.76 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.01246, allocations: 99.27 kB / 0.5611 GB, free: 11.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01246, allocations: 0 / 0.5611 GB, free: 11.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.01267, allocations: 28 kB / 0.5611 GB, free: 11.64 MB / 478.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.0001152/0.01279, allocations: 103.2 kB / 0.5612 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.01337, allocations: 343.8 kB / 0.5615 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01337, allocations: 0 / 0.5615 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.01366, allocations: 165 kB / 0.5617 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.01386, allocations: 14.84 kB / 0.5617 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.01437, allocations: 258.4 kB / 0.5619 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.69e-05/0.01445, allocations: 71.33 kB / 0.562 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.795e-05/0.01449, allocations: 19.91 kB / 0.562 GB, free: 10.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.01454, allocations: 12.5 kB / 0.562 GB, free: 10.55 MB / 478.1 MB Notification: Performance of SimCode: time 2.71e-07/0.01454, allocations: 0 / 0.562 GB, free: 10.55 MB / 478.1 MB Notification: Performance of Templates: time 0.00496/0.0195, allocations: 2.041 MB / 0.564 GB, free: 8.547 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.942634176462889] Failed to read output from testmodel.py, exit status != 0: 0.027706217020750046 0.041829447000000006 0.034087336 Calling exit ...