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.001181/0.001181, allocations: 108.4 kB / 18.7 MB, free: 3.32 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.001209/0.001209, allocations: 192.4 kB / 21.95 MB, free: 72 kB / 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.333/1.333, allocations: 225.6 MB / 250.7 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8512/0.8512, allocations: 145.2 MB / 451 MB, free: 6.098 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.6.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=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.001861/0.001861, allocations: 71.55 kB / 0.6248 GB, free: 15.95 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1481, allocations: 86.63 MB / 0.7094 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00251/0.1506, allocations: 1.494 MB / 0.7109 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.1513, allocations: 470.8 kB / 0.7113 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1514, allocations: 8 kB / 0.7113 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.084e-05/0.1515, allocations: 3.938 kB / 0.7113 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.1515, allocations: 11.86 kB / 0.7113 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.1517, allocations: 47.88 kB / 0.7114 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1518, allocations: 91.83 kB / 0.7115 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.1519, allocations: 8.172 kB / 0.7115 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.152, allocations: 51.77 kB / 0.7115 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.1521, allocations: 39.89 kB / 0.7116 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1521, allocations: 12 kB / 0.7116 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.1522, allocations: 8 kB / 0.7116 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.1522, allocations: 15.92 kB / 0.7116 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.1523, allocations: 39.8 kB / 0.7116 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1524, allocations: 87.62 kB / 0.7117 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1524, allocations: 0 / 0.7117 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1524, allocations: 0 / 0.7117 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1524, allocations: 0 / 0.7117 GB, free: 6.871 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.0006886/0.1531, allocations: 454.5 kB / 0.7121 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1532, allocations: 12.03 kB / 0.7122 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1532, allocations: 16.89 kB / 0.7122 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1534, allocations: 184.3 kB / 0.7123 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1534, allocations: 8.375 kB / 0.7124 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1534, allocations: 4.375 kB / 0.7124 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1537, allocations: 117.7 kB / 0.7125 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1537, allocations: 0 / 0.7125 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1537, allocations: 4 kB / 0.7125 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1537, allocations: 0 / 0.7125 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.154, allocations: 99.84 kB / 0.7126 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.1546, allocations: 328.7 kB / 0.7129 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1549, allocations: 98.5 kB / 0.713 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.155, allocations: 64.94 kB / 0.713 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1551, allocations: 0 / 0.713 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1554, allocations: 127.3 kB / 0.7132 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1554, allocations: 0 / 0.7132 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006801/0.156, allocations: 275.2 kB / 0.7134 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.1561, allocations: 93.03 kB / 0.7135 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1562, allocations: 129.1 kB / 0.7136 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1562, allocations: 29.7 kB / 0.7137 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.1563, allocations: 96.03 kB / 0.7138 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1563, allocations: 19.89 kB / 0.7138 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.1564, allocations: 33.72 kB / 0.7138 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1565, allocations: 330.7 kB / 0.7141 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.1567, allocations: 63.89 kB / 0.7142 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.1569, allocations: 67.95 kB / 0.7142 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.1572, allocations: 181.9 kB / 0.7144 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1572, allocations: 0 / 0.7144 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004933/0.1577, allocations: 261 kB / 0.7147 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.1578, allocations: 63.39 kB / 0.7147 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1578, allocations: 4 kB / 0.7147 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1578, allocations: 0 / 0.7147 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1579, allocations: 15.98 kB / 0.7148 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1579, allocations: 0 / 0.7148 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.1581, allocations: 31.91 kB / 0.7148 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1581, allocations: 4 kB / 0.7148 GB, free: 3.43 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.0001389/0.1582, allocations: 155.5 kB / 0.7149 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1582, allocations: 11.95 kB / 0.7149 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.1583, allocations: 12.36 kB / 0.715 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1583, allocations: 0 / 0.715 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1583, allocations: 0 / 0.715 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1583, allocations: 4.094 kB / 0.715 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1584, allocations: 197.7 kB / 0.7151 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1584, allocations: 7.938 kB / 0.7152 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.896e-05/0.1585, allocations: 11.98 kB / 0.7152 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1585, allocations: 0 / 0.7152 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1585, allocations: 8 kB / 0.7152 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1585, allocations: 0 / 0.7152 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1585, allocations: 0 / 0.7152 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.1591, allocations: 250.6 kB / 0.7154 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.1592, allocations: 89.05 kB / 0.7155 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1592, allocations: 3.984 kB / 0.7155 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1593, allocations: 19.98 kB / 0.7155 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.1594, allocations: 35.95 kB / 0.7156 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1594, allocations: 4 kB / 0.7156 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.576e-05/0.1595, allocations: 103.3 kB / 0.7157 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 0 / 0.7157 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002052/0.1597, allocations: 27.94 kB / 0.7157 GB, free: 2.395 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 0.0001113/0.1598, allocations: 107.2 kB / 0.7158 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.1603, allocations: 254.6 kB / 0.716 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1604, allocations: 0 / 0.716 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.1606, allocations: 139.3 kB / 0.7162 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1608, allocations: 11.98 kB / 0.7162 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.1613, allocations: 248.8 kB / 0.7164 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1616, allocations: 0.6885 MB / 0.7171 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.1617, allocations: 23.42 kB / 0.7171 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.1617, allocations: 4 kB / 0.7171 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of Templates: time 0.003154/0.1649, allocations: 1.445 MB / 0.7185 GB, free: 15.39 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: 7.367709346115589] Failed to read output from testmodel.py, exit status != 0: 0.17160607990808785 0.185643689 0.030444294 Calling exit ...