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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.001266/0.001266, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.331/1.331, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7891/0.7891, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.09 kB / 0.5911 GB, free: 21.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1357, allocations: 83.26 MB / 0.6724 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002575/0.1383, allocations: 1.488 MB / 0.6739 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007657/0.139, allocations: 474.7 kB / 0.6743 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.1391, allocations: 0 / 0.6743 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.892e-05/0.1392, allocations: 7.922 kB / 0.6743 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.1392, allocations: 15.88 kB / 0.6744 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1394, allocations: 39.88 kB / 0.6744 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1396, allocations: 95.81 kB / 0.6745 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.1397, allocations: 12.12 kB / 0.6745 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1398, allocations: 55.83 kB / 0.6746 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.1399, allocations: 43.81 kB / 0.6746 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1399, allocations: 8 kB / 0.6746 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.1399, allocations: 8 kB / 0.6746 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.14, allocations: 15.98 kB / 0.6746 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.14, allocations: 39.8 kB / 0.6747 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1402, allocations: 83.69 kB / 0.6747 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1402, allocations: 0 / 0.6747 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1402, allocations: 0 / 0.6747 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1402, allocations: 0 / 0.6747 GB, free: 1.551 MB / 0.4981 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.0007294/0.1409, allocations: 458.5 kB / 0.6752 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1409, allocations: 8.031 kB / 0.6752 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.141, allocations: 8.891 kB / 0.6752 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1412, allocations: 192.2 kB / 0.6754 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1412, allocations: 4.375 kB / 0.6754 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1412, allocations: 12.38 kB / 0.6754 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.1415, allocations: 113.7 kB / 0.6755 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1415, allocations: 0 / 0.6755 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1415, allocations: 15.92 kB / 0.6755 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1415, allocations: 0 / 0.6755 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1418, allocations: 91.86 kB / 0.6756 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.1423, allocations: 336.7 kB / 0.6759 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1426, allocations: 90.52 kB / 0.676 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1428, allocations: 64.94 kB / 0.6761 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.1428, allocations: 4 kB / 0.6761 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.1431, allocations: 123.3 kB / 0.6762 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1431, allocations: 0 / 0.6762 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006935/0.1438, allocations: 283.2 kB / 0.6765 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.1439, allocations: 81.11 kB / 0.6765 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.144, allocations: 133.8 kB / 0.6767 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.144, allocations: 25.7 kB / 0.6767 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.1441, allocations: 100.1 kB / 0.6768 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1441, allocations: 15.91 kB / 0.6768 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.1442, allocations: 33.66 kB / 0.6768 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1443, allocations: 322.8 kB / 0.6772 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1445, allocations: 71.94 kB / 0.6772 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1447, allocations: 67.89 kB / 0.6773 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.145, allocations: 181.9 kB / 0.6775 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.145, allocations: 0 / 0.6775 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004904/0.1455, allocations: 260.9 kB / 0.6777 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.1456, allocations: 63.41 kB / 0.6778 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1456, allocations: 4.094 kB / 0.6778 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1456, allocations: 3.938 kB / 0.6778 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1457, allocations: 16.22 kB / 0.6778 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1457, allocations: 0 / 0.6778 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1458, allocations: 27.98 kB / 0.6778 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1459, allocations: 4 kB / 0.6778 GB, free: 14.11 MB / 0.5137 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.0001372/0.146, allocations: 159.5 kB / 0.678 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.146, allocations: 11.95 kB / 0.678 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.1461, allocations: 8.375 kB / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1461, allocations: 0 / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1461, allocations: 0 / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1461, allocations: 3.984 kB / 0.678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1462, allocations: 197.6 kB / 0.6782 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1462, allocations: 3.984 kB / 0.6782 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.1463, allocations: 15.98 kB / 0.6782 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1463, allocations: 7.938 kB / 0.6782 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1463, allocations: 0 / 0.6782 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1463, allocations: 0 / 0.6782 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1463, allocations: 0 / 0.6782 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.1468, allocations: 250.6 kB / 0.6784 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.1469, allocations: 89.06 kB / 0.6785 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.1469, allocations: 0 / 0.6785 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.147, allocations: 19.97 kB / 0.6786 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1472, allocations: 39.95 kB / 0.6786 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1472, allocations: 7.938 kB / 0.6786 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.846e-05/0.1472, allocations: 102.4 kB / 0.6787 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1472, allocations: 0 / 0.6787 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002054/0.1474, allocations: 23.94 kB / 0.6787 GB, free: 13.08 MB / 0.5137 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.000114/0.1476, allocations: 111.2 kB / 0.6788 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.1481, allocations: 250.7 kB / 0.6791 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1481, allocations: 0 / 0.6791 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.1483, allocations: 131.3 kB / 0.6792 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.1485, allocations: 19.98 kB / 0.6792 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.149, allocations: 215.2 kB / 0.6794 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1493, allocations: 0.6896 MB / 0.6801 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.845e-05/0.1493, allocations: 11.98 kB / 0.6801 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1494, allocations: 19.44 kB / 0.6801 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1494, allocations: 0 / 0.6801 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.004665/0.154, allocations: 1.916 MB / 0.682 GB, free: 9.645 MB / 0.5137 GB 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]