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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001349/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001524/0.001524, allocations: 194.3 kB / 16.13 MB, free: 6.664 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9673/0.9673, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 82.03 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002612/0.1668, allocations: 1.533 MB / 0.5951 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006926/0.1675, allocations: 459 kB / 0.5955 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.1675, allocations: 0 / 0.5955 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.456e-05/0.1676, allocations: 7.938 kB / 0.5955 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.1677, allocations: 15.91 kB / 0.5956 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1679, allocations: 27.91 kB / 0.5956 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.168, allocations: 87.83 kB / 0.5957 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.1681, allocations: 16.17 kB / 0.5957 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1682, allocations: 51.77 kB / 0.5957 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.1683, allocations: 35.89 kB / 0.5958 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1683, allocations: 4 kB / 0.5958 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.1683, allocations: 7.938 kB / 0.5958 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.1684, allocations: 11.98 kB / 0.5958 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.1684, allocations: 39.78 kB / 0.5958 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1686, allocations: 71.77 kB / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1686, allocations: 0 / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.71e-07/0.1686, allocations: 0 / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1686, allocations: 7.938 kB / 0.5959 GB, free: 7.711 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.0006504/0.1692, allocations: 450.8 kB / 0.5963 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1693, allocations: 8.031 kB / 0.5963 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1693, allocations: 8.844 kB / 0.5963 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1695, allocations: 196.2 kB / 0.5965 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1695, allocations: 8.375 kB / 0.5965 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1696, allocations: 12.31 kB / 0.5965 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.1699, allocations: 125.7 kB / 0.5967 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1699, allocations: 3.984 kB / 0.5967 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1699, allocations: 4 kB / 0.5967 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1699, allocations: 0 / 0.5967 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.1702, allocations: 91.92 kB / 0.5968 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.1707, allocations: 328.8 kB / 0.5971 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.171, allocations: 106.5 kB / 0.5972 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.1712, allocations: 72.94 kB / 0.5972 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1712, allocations: 0 / 0.5972 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.1715, allocations: 123.3 kB / 0.5974 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1716, allocations: 0 / 0.5974 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006737/0.1722, allocations: 279.1 kB / 0.5976 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.1723, allocations: 93.09 kB / 0.5977 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.1724, allocations: 124.4 kB / 0.5978 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1724, allocations: 29.7 kB / 0.5979 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.1725, allocations: 96.03 kB / 0.598 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.1725, allocations: 23.81 kB / 0.598 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.1726, allocations: 33.7 kB / 0.598 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1727, allocations: 322.8 kB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1729, allocations: 67.94 kB / 0.5984 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1731, allocations: 67.95 kB / 0.5985 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.1734, allocations: 181.9 kB / 0.5986 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1734, allocations: 7.875 kB / 0.5986 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000481/0.1739, allocations: 256.9 kB / 0.5989 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.174, allocations: 63.41 kB / 0.5989 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.174, allocations: 0 / 0.5989 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.174, allocations: 4 kB / 0.5989 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1741, allocations: 15.97 kB / 0.599 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1741, allocations: 3.938 kB / 0.599 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1743, allocations: 23.98 kB / 0.599 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1743, allocations: 4 kB / 0.599 GB, free: 4.25 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 (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.0001219/0.1744, allocations: 163.4 kB / 0.5991 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.1744, allocations: 7.906 kB / 0.5992 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.1745, allocations: 12.38 kB / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1745, allocations: 0 / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1745, allocations: 3.984 kB / 0.5992 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1745, allocations: 0 / 0.5992 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1747, allocations: 189.6 kB / 0.5993 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1747, allocations: 3.984 kB / 0.5994 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.1748, allocations: 11.98 kB / 0.5994 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1748, allocations: 0 / 0.5994 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1748, allocations: 12.25 kB / 0.5994 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1748, allocations: 4 kB / 0.5994 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1748, allocations: 0 / 0.5994 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.1753, allocations: 250.5 kB / 0.5996 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.1753, allocations: 88.95 kB / 0.5997 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1754, allocations: 0 / 0.5997 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1755, allocations: 23.97 kB / 0.5997 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.1757, allocations: 39.95 kB / 0.5998 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1757, allocations: 4 kB / 0.5998 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.1757, allocations: 95.27 kB / 0.5999 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1757, allocations: 0 / 0.5999 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002051/0.1759, allocations: 27.94 kB / 0.5999 GB, free: 3.219 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 (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.0001237/0.1761, allocations: 110.6 kB / 0.6 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.1766, allocations: 266.6 kB / 0.6002 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1766, allocations: 0 / 0.6002 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.1769, allocations: 135.4 kB / 0.6004 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.1771, allocations: 22.88 kB / 0.6004 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.1776, allocations: 237 kB / 0.6006 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1779, allocations: 0.6965 MB / 0.6013 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.858e-05/0.178, allocations: 11.98 kB / 0.6013 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.178, allocations: 7.438 kB / 0.6013 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.178, allocations: 4 kB / 0.6013 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of Templates: time 0.003663/0.1817, allocations: 1.588 MB / 0.6029 GB, free: 76 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (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)