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.001693/0.001693, allocations: 111 kB / 15.99 MB, free: 6.355 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.001816/0.001817, allocations: 194.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.002/2.002, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7701/0.7701, allocations: 126.1 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 0.4945 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3331, allocations: 78.7 MB / 0.5713 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00258/0.3357, allocations: 1.523 MB / 0.5728 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.3364, allocations: 458.1 kB / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.3364, allocations: 2 kB / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.775e-05/0.3365, allocations: 5.25 kB / 0.5732 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.3366, allocations: 10.81 kB / 0.5733 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.3368, allocations: 37.36 kB / 0.5733 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3369, allocations: 99.69 kB / 0.5734 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.337, allocations: 11.11 kB / 0.5734 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3372, allocations: 50.72 kB / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.3373, allocations: 43.52 kB / 0.5735 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.3373, allocations: 8.094 kB / 0.5735 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.155e-05/0.3373, allocations: 8.156 kB / 0.5735 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.3374, allocations: 16.14 kB / 0.5735 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.3375, allocations: 38.84 kB / 0.5736 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3376, allocations: 77.28 kB / 0.5736 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3376, allocations: 0.5625 kB / 0.5736 GB, free: 29.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3376, allocations: 0 / 0.5736 GB, free: 29.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3376, allocations: 1.656 kB / 0.5736 GB, free: 29.78 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.0006194/0.3383, allocations: 457.7 kB / 0.5741 GB, free: 29.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3383, allocations: 9.594 kB / 0.5741 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.3384, allocations: 11.66 kB / 0.5741 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3385, allocations: 186.3 kB / 0.5743 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3385, allocations: 10.25 kB / 0.5743 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3385, allocations: 10.25 kB / 0.5743 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.3389, allocations: 113.4 kB / 0.5744 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3389, allocations: 2.5 kB / 0.5744 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3389, allocations: 6.203 kB / 0.5744 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3389, allocations: 1.438 kB / 0.5744 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.3392, allocations: 92.61 kB / 0.5745 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.3397, allocations: 327.6 kB / 0.5748 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.34, allocations: 110.6 kB / 0.5749 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.3402, allocations: 72.45 kB / 0.575 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3402, allocations: 3.938 kB / 0.575 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.3405, allocations: 123.4 kB / 0.5751 GB, free: 28.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3406, allocations: 0 / 0.5751 GB, free: 28.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006745/0.3412, allocations: 281.9 kB / 0.5754 GB, free: 28.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3413, allocations: 83.75 kB / 0.5754 GB, free: 28.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.3414, allocations: 130.5 kB / 0.5756 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3414, allocations: 29.2 kB / 0.5756 GB, free: 28.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.3414, allocations: 97.5 kB / 0.5757 GB, free: 28.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3415, allocations: 17.3 kB / 0.5757 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.3415, allocations: 28.12 kB / 0.5757 GB, free: 28.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.3416, allocations: 325.3 kB / 0.576 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.3418, allocations: 66.36 kB / 0.5761 GB, free: 27.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.342, allocations: 64.8 kB / 0.5762 GB, free: 27.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.3423, allocations: 187.6 kB / 0.5763 GB, free: 27.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3423, allocations: 0 / 0.5763 GB, free: 27.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004538/0.3427, allocations: 256.4 kB / 0.5766 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.3428, allocations: 67.17 kB / 0.5767 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3428, allocations: 0 / 0.5767 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3428, allocations: 6.266 kB / 0.5767 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.343, allocations: 15.12 kB / 0.5767 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.343, allocations: 7.875 kB / 0.5767 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3431, allocations: 29.41 kB / 0.5767 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3432, allocations: 5.031 kB / 0.5767 GB, free: 27.43 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.0001072/0.3433, allocations: 158.9 kB / 0.5769 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.3433, allocations: 14.98 kB / 0.5769 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.3433, allocations: 10.83 kB / 0.5769 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3433, allocations: 1.906 kB / 0.5769 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3433, allocations: 0.6562 kB / 0.5769 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3434, allocations: 6.141 kB / 0.5769 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3435, allocations: 196.6 kB / 0.5771 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3435, allocations: 0.5625 kB / 0.5771 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.3436, allocations: 12.8 kB / 0.5771 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3436, allocations: 1.906 kB / 0.5771 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3436, allocations: 2.656 kB / 0.5771 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3436, allocations: 3.719 kB / 0.5771 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3436, allocations: 3.984 kB / 0.5771 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.3441, allocations: 251.3 kB / 0.5774 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.3441, allocations: 82.94 kB / 0.5774 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.3441, allocations: 8.562 kB / 0.5774 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3443, allocations: 19.67 kB / 0.5775 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.3444, allocations: 37.75 kB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3444, allocations: 3.609 kB / 0.5775 GB, free: 26.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.77e-05/0.3445, allocations: 96.77 kB / 0.5776 GB, free: 26.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3445, allocations: 0 / 0.5776 GB, free: 26.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.3447, allocations: 30.78 kB / 0.5776 GB, free: 26.71 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.858e-05/0.3448, allocations: 106.1 kB / 0.5777 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.3453, allocations: 265 kB / 0.578 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3453, allocations: 0 / 0.578 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.3455, allocations: 140.7 kB / 0.5781 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3458, allocations: 11.23 kB / 0.5781 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.3463, allocations: 237.5 kB / 0.5783 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.3464, allocations: 0.6952 MB / 0.579 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.3465, allocations: 9.672 kB / 0.579 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.3465, allocations: 15.11 kB / 0.579 GB, free: 25.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3465, allocations: 1.5 kB / 0.5791 GB, free: 25.49 MB / 446.1 MB Notification: Performance of Templates: time 0.004339/0.3509, allocations: 1.68 MB / 0.5807 GB, free: 24.8 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)