Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00127/0.00127, allocations: 103 kB / 15.06 MB, free: 1.098 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.001401/0.001401, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.096/1.096, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 16 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.193, allocations: 83.41 MB / 0.5973 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001522/0.1946, allocations: 1.175 MB / 0.5984 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.1952, allocations: 431.4 kB / 0.5988 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.1953, allocations: 0 / 0.5988 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.036e-05/0.1954, allocations: 7.922 kB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.1955, allocations: 11.92 kB / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1957, allocations: 27.91 kB / 0.5989 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1958, allocations: 59.84 kB / 0.5989 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1959, allocations: 16.19 kB / 0.5989 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.196, allocations: 39.84 kB / 0.599 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.1961, allocations: 35.88 kB / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1961, allocations: 4 kB / 0.599 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.1962, allocations: 4 kB / 0.599 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.1962, allocations: 11.92 kB / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.1963, allocations: 37.7 kB / 0.5991 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.1964, allocations: 51.91 kB / 0.5991 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1964, allocations: 4 kB / 0.5991 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1964, allocations: 0 / 0.5991 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1964, allocations: 0 / 0.5991 GB, free: 5.988 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.0006648/0.197, allocations: 442.7 kB / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1971, allocations: 8.031 kB / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.1971, allocations: 11.91 kB / 0.5996 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1973, allocations: 194.8 kB / 0.5997 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1974, allocations: 8 kB / 0.5998 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1974, allocations: 11.98 kB / 0.5998 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1977, allocations: 121.6 kB / 0.5999 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1977, allocations: 0 / 0.5999 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1977, allocations: 0 / 0.5999 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1977, allocations: 4 kB / 0.5999 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1981, allocations: 107.9 kB / 0.6 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.1986, allocations: 340.7 kB / 0.6003 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.1989, allocations: 118.5 kB / 0.6004 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.199, allocations: 0 / 0.6004 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.1993, allocations: 127.5 kB / 0.6005 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1993, allocations: 7.938 kB / 0.6006 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007011/0.2, allocations: 303.1 kB / 0.6008 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.2001, allocations: 93.05 kB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2002, allocations: 124.8 kB / 0.6011 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2002, allocations: 33.7 kB / 0.6011 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.2003, allocations: 96.03 kB / 0.6012 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2003, allocations: 19.75 kB / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.2004, allocations: 8 kB / 0.6012 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2005, allocations: 314.8 kB / 0.6015 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2007, allocations: 75.95 kB / 0.6016 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.2008, allocations: 75.89 kB / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.201, allocations: 119.3 kB / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2011, allocations: 0 / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004715/0.2015, allocations: 272.9 kB / 0.602 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.2016, allocations: 63.41 kB / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2016, allocations: 0 / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2016, allocations: 0 / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2017, allocations: 23.91 kB / 0.6021 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2018, allocations: 7.953 kB / 0.6021 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.2019, allocations: 32.23 kB / 0.6021 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2019, allocations: 4 kB / 0.6021 GB, free: 2.609 MB / 0.4981 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.2021, allocations: 155.5 kB / 0.6023 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.2021, allocations: 7.906 kB / 0.6023 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.2021, allocations: 12.38 kB / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2021, allocations: 0 / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2022, allocations: 3.984 kB / 0.6023 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2022, allocations: 3.953 kB / 0.6023 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2023, allocations: 189.6 kB / 0.6025 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2023, allocations: 3.984 kB / 0.6025 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.2024, allocations: 15.98 kB / 0.6025 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2024, allocations: 0 / 0.6025 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2024, allocations: 4 kB / 0.6025 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2024, allocations: 0 / 0.6025 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2025, allocations: 0 / 0.6025 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.2029, allocations: 266.5 kB / 0.6028 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.203, allocations: 92.95 kB / 0.6029 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.203, allocations: 3.938 kB / 0.6029 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.2032, allocations: 31.97 kB / 0.6029 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2033, allocations: 35.95 kB / 0.6029 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2033, allocations: 8 kB / 0.6029 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.2034, allocations: 99.25 kB / 0.603 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2034, allocations: 96 / 0.603 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002034/0.2036, allocations: 27.94 kB / 0.6031 GB, free: 1.555 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.2037, allocations: 103.2 kB / 0.6032 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005032/0.2042, allocations: 278.6 kB / 0.6034 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2042, allocations: 4 kB / 0.6034 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.2045, allocations: 143.4 kB / 0.6036 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.2046, allocations: 15.94 kB / 0.6036 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.2052, allocations: 237.2 kB / 0.6038 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3159/0.5211, allocations: 0.6926 MB / 0.6045 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.5213, allocations: 6.828 kB / 0.6045 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.5213, allocations: 17.06 kB / 0.6045 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.5213, allocations: 0 / 0.6045 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.003994/0.5253, allocations: 1.528 MB / 0.606 GB, free: 40.76 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: