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.001528/0.001528, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001736/0.001736, allocations: 192 kB / 17.2 MB, free: 5.598 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7773/0.7773, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 0.4949 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4003, allocations: 78.7 MB / 0.5718 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002545/0.4029, allocations: 1.461 MB / 0.5732 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.4036, allocations: 458.7 kB / 0.5737 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.4037, allocations: 1.062 kB / 0.5737 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.4038, allocations: 6.078 kB / 0.5737 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.4039, allocations: 19.62 kB / 0.5737 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.4041, allocations: 37.8 kB / 0.5737 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.4043, allocations: 97.34 kB / 0.5738 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.4044, allocations: 18.69 kB / 0.5738 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.4045, allocations: 46.25 kB / 0.5739 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.022e-05/0.4046, allocations: 45.28 kB / 0.5739 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.4046, allocations: 7.094 kB / 0.5739 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.4047, allocations: 9.469 kB / 0.5739 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.4047, allocations: 15.05 kB / 0.574 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.4048, allocations: 37.47 kB / 0.574 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.4049, allocations: 83.2 kB / 0.5741 GB, free: 29.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.405, allocations: 2.906 kB / 0.5741 GB, free: 29.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.405, allocations: 0 / 0.5741 GB, free: 29.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.405, allocations: 0 / 0.5741 GB, free: 29.8 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.0006025/0.4056, allocations: 452.7 kB / 0.5745 GB, free: 29.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.4056, allocations: 9.531 kB / 0.5745 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.4057, allocations: 10.72 kB / 0.5745 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.4058, allocations: 191.2 kB / 0.5747 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4058, allocations: 13.23 kB / 0.5747 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.4059, allocations: 6.156 kB / 0.5747 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.4062, allocations: 123 kB / 0.5748 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4062, allocations: 1.031 kB / 0.5748 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.4062, allocations: 3.406 kB / 0.5749 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4063, allocations: 1.031 kB / 0.5749 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.4066, allocations: 88.27 kB / 0.5749 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.4071, allocations: 331.9 kB / 0.5753 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.4075, allocations: 108.9 kB / 0.5754 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.4077, allocations: 75.25 kB / 0.5754 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4077, allocations: 5.609 kB / 0.5754 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.4081, allocations: 122 kB / 0.5756 GB, free: 28.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.4081, allocations: 0.5938 kB / 0.5756 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007482/0.4088, allocations: 282 kB / 0.5758 GB, free: 28.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.4089, allocations: 82.28 kB / 0.5759 GB, free: 28.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.409, allocations: 130.4 kB / 0.576 GB, free: 28.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.409, allocations: 32 kB / 0.5761 GB, free: 28.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.4091, allocations: 97.2 kB / 0.5761 GB, free: 28.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.4091, allocations: 20.44 kB / 0.5762 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.4092, allocations: 31.14 kB / 0.5762 GB, free: 28.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.4092, allocations: 321.1 kB / 0.5765 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.4094, allocations: 67.55 kB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.4096, allocations: 68.2 kB / 0.5766 GB, free: 27.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.41, allocations: 183.5 kB / 0.5768 GB, free: 27.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.41, allocations: 1.375 kB / 0.5768 GB, free: 27.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004931/0.4105, allocations: 254.7 kB / 0.577 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.4106, allocations: 71.06 kB / 0.5771 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4106, allocations: 0 / 0.5771 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4106, allocations: 2.078 kB / 0.5771 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4107, allocations: 18.97 kB / 0.5771 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4107, allocations: 0 / 0.5771 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.4109, allocations: 33.25 kB / 0.5772 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.4109, allocations: 4.828 kB / 0.5772 GB, free: 27.45 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 0.0001065/0.4111, allocations: 160.1 kB / 0.5773 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.4111, allocations: 9.797 kB / 0.5773 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.4111, allocations: 11.88 kB / 0.5773 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4111, allocations: 0.6562 kB / 0.5773 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4111, allocations: 2.781 kB / 0.5774 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4111, allocations: 0.6094 kB / 0.5774 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.4113, allocations: 191.5 kB / 0.5775 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4113, allocations: 0.7969 kB / 0.5775 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.4114, allocations: 13.66 kB / 0.5775 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4114, allocations: 1.375 kB / 0.5775 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.4114, allocations: 2.125 kB / 0.5776 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4114, allocations: 2.75 kB / 0.5776 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4114, allocations: 0 / 0.5776 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.412, allocations: 252 kB / 0.5778 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.412, allocations: 89.5 kB / 0.5779 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.412, allocations: 3.312 kB / 0.5779 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4122, allocations: 23.81 kB / 0.5779 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.4123, allocations: 37.41 kB / 0.5779 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4124, allocations: 3.406 kB / 0.5779 GB, free: 26.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.4124, allocations: 103.3 kB / 0.578 GB, free: 26.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4124, allocations: 1.375 kB / 0.578 GB, free: 26.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.4126, allocations: 24.56 kB / 0.5781 GB, free: 26.73 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 9.097e-05/0.4127, allocations: 106.6 kB / 0.5782 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.4132, allocations: 267.7 kB / 0.5784 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4132, allocations: 0 / 0.5784 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.4135, allocations: 140 kB / 0.5786 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.4137, allocations: 19.94 kB / 0.5786 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.4142, allocations: 219.7 kB / 0.5788 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.4143, allocations: 0.6902 MB / 0.5795 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.4143, allocations: 9.906 kB / 0.5795 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.4144, allocations: 16.16 kB / 0.5795 GB, free: 25.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4144, allocations: 1 kB / 0.5795 GB, free: 25.52 MB / 446.1 MB Notification: Performance of Templates: time 0.004361/0.4188, allocations: 1.862 MB / 0.5813 GB, free: 24.63 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)