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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 107.5 kB / 15.99 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 188.6 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7354/0.7354, allocations: 122.9 MB / 413.6 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.88 kB / 0.4906 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3611, allocations: 77.91 MB / 0.5667 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002635/0.3638, allocations: 1.534 MB / 0.5682 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007116/0.3645, allocations: 455.7 kB / 0.5686 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.3646, allocations: 3.938 kB / 0.5686 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3647, allocations: 2.812 kB / 0.5686 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.3647, allocations: 10.91 kB / 0.5686 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3649, allocations: 33.97 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3651, allocations: 101.4 kB / 0.5688 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.3652, allocations: 15.11 kB / 0.5688 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3653, allocations: 47.77 kB / 0.5688 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.3654, allocations: 39.91 kB / 0.5689 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.3655, allocations: 7.469 kB / 0.5689 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.3655, allocations: 8.406 kB / 0.5689 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.3655, allocations: 17.45 kB / 0.5689 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.3656, allocations: 41.73 kB / 0.5689 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3657, allocations: 77.91 kB / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3657, allocations: 0 / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3658, allocations: 1.25 kB / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3658, allocations: 0 / 0.569 GB, free: 31.3 MB / 446.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.000597/0.3664, allocations: 453.2 kB / 0.5694 GB, free: 30.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3664, allocations: 10.09 kB / 0.5694 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.3665, allocations: 12.27 kB / 0.5695 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3666, allocations: 194.3 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3666, allocations: 4.969 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3667, allocations: 6.953 kB / 0.5697 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.367, allocations: 118.4 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.367, allocations: 1 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.367, allocations: 3.672 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.367, allocations: 2.125 kB / 0.5698 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.3673, allocations: 90.19 kB / 0.5699 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.3679, allocations: 342.3 kB / 0.5702 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3682, allocations: 103.8 kB / 0.5703 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.3684, allocations: 72.45 kB / 0.5704 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3684, allocations: 1.594 kB / 0.5704 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.3688, allocations: 125 kB / 0.5705 GB, free: 30.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3688, allocations: 1.938 kB / 0.5705 GB, free: 30.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007126/0.3695, allocations: 273 kB / 0.5707 GB, free: 30.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3695, allocations: 88.72 kB / 0.5708 GB, free: 29.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.3696, allocations: 126.5 kB / 0.5709 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3697, allocations: 33.3 kB / 0.571 GB, free: 29.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.3697, allocations: 94.59 kB / 0.5711 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.3697, allocations: 17.33 kB / 0.5711 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.3698, allocations: 31.34 kB / 0.5711 GB, free: 29.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.3699, allocations: 324 kB / 0.5714 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.37, allocations: 63.47 kB / 0.5715 GB, free: 29.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3702, allocations: 73.5 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.3706, allocations: 178.1 kB / 0.5717 GB, free: 29.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3706, allocations: 1.031 kB / 0.5717 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000467/0.3711, allocations: 263 kB / 0.572 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.3711, allocations: 66.38 kB / 0.572 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3711, allocations: 1.125 kB / 0.572 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3711, allocations: 4.938 kB / 0.572 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3713, allocations: 15.41 kB / 0.5721 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3713, allocations: 4.562 kB / 0.5721 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3714, allocations: 25.17 kB / 0.5721 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3715, allocations: 5.75 kB / 0.5721 GB, free: 28.96 MB / 446.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 9.1e-05/0.3716, allocations: 156.9 kB / 0.5722 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3716, allocations: 10.75 kB / 0.5722 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.3716, allocations: 13.22 kB / 0.5723 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3716, allocations: 1.219 kB / 0.5723 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3716, allocations: 4 kB / 0.5723 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3716, allocations: 2.047 kB / 0.5723 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3718, allocations: 195.9 kB / 0.5725 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.3718, allocations: 0.5312 kB / 0.5725 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.661e-05/0.3719, allocations: 13.75 kB / 0.5725 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3719, allocations: 0 / 0.5725 GB, free: 28.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3719, allocations: 8.938 kB / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3719, allocations: 4.594 kB / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3719, allocations: 0 / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.3724, allocations: 247.4 kB / 0.5727 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.3724, allocations: 85.91 kB / 0.5728 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3724, allocations: 7.828 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3726, allocations: 22.98 kB / 0.5728 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3727, allocations: 33.84 kB / 0.5729 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3727, allocations: 5.422 kB / 0.5729 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.3728, allocations: 99.44 kB / 0.573 GB, free: 28.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3728, allocations: 0 / 0.573 GB, free: 28.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.373, allocations: 30.31 kB / 0.573 GB, free: 28.23 MB / 446.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 8.804e-05/0.3731, allocations: 99.03 kB / 0.5731 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004884/0.3736, allocations: 273.4 kB / 0.5733 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3736, allocations: 0.5312 kB / 0.5733 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.3738, allocations: 135.7 kB / 0.5735 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3741, allocations: 18.34 kB / 0.5735 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.3746, allocations: 235.2 kB / 0.5737 GB, free: 27.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3747, allocations: 0.6918 MB / 0.5744 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.3748, allocations: 7.906 kB / 0.5744 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.3748, allocations: 17.14 kB / 0.5744 GB, free: 27.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3748, allocations: 7.281 kB / 0.5744 GB, free: 27.01 MB / 446.1 MB Notification: Performance of Templates: time 0.004642/0.3795, allocations: 1.679 MB / 0.5761 GB, free: 26.91 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (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)