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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 190.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8736/0.8736, allocations: 145 MB / 451.2 MB, free: 5.41 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 64.64 kB / 0.6253 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1549, allocations: 86.71 MB / 0.71 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002626/0.1576, allocations: 1.49 MB / 0.7114 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.1583, allocations: 458.9 kB / 0.7119 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/0.1584, allocations: 3.938 kB / 0.7119 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.737e-05/0.1585, allocations: 3.938 kB / 0.7119 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.1585, allocations: 27.84 kB / 0.7119 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1587, allocations: 35.89 kB / 0.7119 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1589, allocations: 91.83 kB / 0.712 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.69e-05/0.159, allocations: 8.188 kB / 0.712 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1591, allocations: 59.75 kB / 0.7121 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.1592, allocations: 35.91 kB / 0.7121 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1592, allocations: 8 kB / 0.7121 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.1592, allocations: 8 kB / 0.7121 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.1593, allocations: 19.92 kB / 0.7122 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.1593, allocations: 47.78 kB / 0.7122 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1595, allocations: 79.7 kB / 0.7123 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1595, allocations: 0 / 0.7123 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1595, allocations: 0 / 0.7123 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1595, allocations: 0 / 0.7123 GB, free: 6.395 MB / 0.5294 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.0006803/0.1602, allocations: 373.4 kB / 0.7126 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1602, allocations: 8.031 kB / 0.7126 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.1602, allocations: 16.88 kB / 0.7127 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.1604, allocations: 141.1 kB / 0.7128 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1604, allocations: 8.375 kB / 0.7128 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1604, allocations: 4.375 kB / 0.7128 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1608, allocations: 125.7 kB / 0.7129 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1608, allocations: 0 / 0.7129 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1608, allocations: 0 / 0.7129 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1608, allocations: 4 kB / 0.7129 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.1611, allocations: 87.92 kB / 0.713 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.1617, allocations: 303.7 kB / 0.7133 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.162, allocations: 98.5 kB / 0.7134 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1622, allocations: 64.94 kB / 0.7135 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1622, allocations: 4 kB / 0.7135 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.1625, allocations: 119.3 kB / 0.7136 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1625, allocations: 0 / 0.7136 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007618/0.1633, allocations: 283.1 kB / 0.7138 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1633, allocations: 85.11 kB / 0.7139 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1635, allocations: 136.9 kB / 0.7141 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.1635, allocations: 33.7 kB / 0.7141 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1636, allocations: 96.08 kB / 0.7142 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1636, allocations: 19.97 kB / 0.7142 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.1636, allocations: 33.64 kB / 0.7142 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1638, allocations: 326.8 kB / 0.7145 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.164, allocations: 59.95 kB / 0.7146 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1642, allocations: 71.94 kB / 0.7147 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.1646, allocations: 181.8 kB / 0.7148 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1646, allocations: 0 / 0.7148 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005349/0.1651, allocations: 261 kB / 0.7151 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.1652, allocations: 67.39 kB / 0.7152 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1652, allocations: 0 / 0.7152 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1652, allocations: 0 / 0.7152 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1653, allocations: 15.92 kB / 0.7152 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1653, allocations: 4 kB / 0.7152 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1655, allocations: 27.91 kB / 0.7152 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.1655, allocations: 4 kB / 0.7152 GB, free: 3.145 MB / 0.5294 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.000137/0.1656, allocations: 159.5 kB / 0.7154 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.1656, allocations: 7.953 kB / 0.7154 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.1657, allocations: 8.375 kB / 0.7154 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1657, allocations: 4 kB / 0.7154 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1657, allocations: 0 / 0.7154 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1657, allocations: 0 / 0.7154 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1658, allocations: 164.7 kB / 0.7155 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1658, allocations: 7.938 kB / 0.7155 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.1659, allocations: 15.98 kB / 0.7156 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1659, allocations: 0 / 0.7156 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.166, allocations: 7.984 kB / 0.7156 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.166, allocations: 0 / 0.7156 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.166, allocations: 0 / 0.7156 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.1665, allocations: 250.6 kB / 0.7158 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.1665, allocations: 7.953 kB / 0.7158 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.1665, allocations: 4.312 kB / 0.7158 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1667, allocations: 23.97 kB / 0.7158 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1668, allocations: 39.95 kB / 0.7159 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1668, allocations: 4 kB / 0.7159 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.1669, allocations: 95.27 kB / 0.716 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1669, allocations: 0 / 0.716 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002115/0.1671, allocations: 35.94 kB / 0.716 GB, free: 2.234 MB / 0.5294 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 9.745e-05/0.1672, allocations: 99.19 kB / 0.7161 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.1677, allocations: 262.8 kB / 0.7163 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1677, allocations: 0 / 0.7163 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.168, allocations: 131.3 kB / 0.7165 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.1682, allocations: 16 kB / 0.7165 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.1687, allocations: 231.2 kB / 0.7167 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.169, allocations: 0.6924 MB / 0.7174 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.079e-05/0.1691, allocations: 19.97 kB / 0.7174 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.1691, allocations: 11.44 kB / 0.7174 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1691, allocations: 0 / 0.7174 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of Templates: time 0.004733/0.1739, allocations: 1.913 MB / 0.7193 GB, free: 14.78 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058754212222993] Failed to read output from testmodel.py, exit status != 0: 0.18100561667233706 0.19562515400000002 0.033135918 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f790fd217b0>