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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 222.3 kB / 23 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8794/0.8794, allocations: 145 MB / 458.2 MB, free: 15.29 MB / 366.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 70.31 kB / 0.6343 GB, free: 6.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 87.89 MB / 0.7201 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002682/0.1734, allocations: 1.486 MB / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000941/0.1743, allocations: 0.4909 MB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.1744, allocations: 4 kB / 0.722 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.132e-05/0.1745, allocations: 7.875 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.1745, allocations: 11.88 kB / 0.7221 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1748, allocations: 51.86 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.175, allocations: 95.83 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1751, allocations: 16.11 kB / 0.7222 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1752, allocations: 59.77 kB / 0.7223 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.1753, allocations: 39.83 kB / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1754, allocations: 8 kB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.1754, allocations: 12 kB / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.1754, allocations: 11.98 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.1755, allocations: 35.86 kB / 0.7224 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1757, allocations: 83.69 kB / 0.7225 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1757, allocations: 7.938 kB / 0.7225 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.865e-06/0.1757, allocations: 7.938 kB / 0.7225 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1757, allocations: 0 / 0.7225 GB, free: 11.93 MB / 0.545 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.000716/0.1764, allocations: 391.6 kB / 0.7228 GB, free: 11.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1764, allocations: 8.031 kB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.1766, allocations: 20.88 kB / 0.7229 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1768, allocations: 130.5 kB / 0.723 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1768, allocations: 384 / 0.723 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1769, allocations: 16.38 kB / 0.723 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.1772, allocations: 151.4 kB / 0.7232 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1772, allocations: 0 / 0.7232 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1772, allocations: 0 / 0.7232 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1772, allocations: 4 kB / 0.7232 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.1776, allocations: 125.5 kB / 0.7233 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.1781, allocations: 264.3 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.1784, allocations: 132.2 kB / 0.7237 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1786, allocations: 90.64 kB / 0.7237 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1786, allocations: 0 / 0.7237 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.179, allocations: 161 kB / 0.7239 GB, free: 10.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.179, allocations: 0 / 0.7239 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007366/0.1797, allocations: 334.6 kB / 0.7242 GB, free: 9.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.1798, allocations: 85.11 kB / 0.7243 GB, free: 9.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1799, allocations: 130.1 kB / 0.7244 GB, free: 9.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1799, allocations: 29.7 kB / 0.7245 GB, free: 9.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.18, allocations: 100.7 kB / 0.7245 GB, free: 9.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.18, allocations: 15.84 kB / 0.7246 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.1801, allocations: 33.78 kB / 0.7246 GB, free: 9.531 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1802, allocations: 326.8 kB / 0.7249 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1805, allocations: 123.3 kB / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.1807, allocations: 135.3 kB / 0.7252 GB, free: 8.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.181, allocations: 181.9 kB / 0.7253 GB, free: 8.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.181, allocations: 3.938 kB / 0.7253 GB, free: 8.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005522/0.1816, allocations: 324.3 kB / 0.7256 GB, free: 8.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.1816, allocations: 67.39 kB / 0.7257 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1816, allocations: 0 / 0.7257 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1816, allocations: 0 / 0.7257 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1818, allocations: 15.98 kB / 0.7257 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1818, allocations: 0 / 0.7257 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1819, allocations: 19.97 kB / 0.7257 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1819, allocations: 4 kB / 0.7257 GB, free: 8.258 MB / 0.545 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.0001447/0.1821, allocations: 170.5 kB / 0.7259 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1821, allocations: 7.953 kB / 0.7259 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.1821, allocations: 12.72 kB / 0.7259 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1821, allocations: 0 / 0.7259 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1821, allocations: 0 / 0.7259 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1821, allocations: 256 / 0.7259 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1823, allocations: 133.2 kB / 0.7261 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1823, allocations: 4 kB / 0.7261 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.1824, allocations: 19.91 kB / 0.7261 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1824, allocations: 4 kB / 0.7261 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1824, allocations: 4 kB / 0.7261 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1824, allocations: 0 / 0.7261 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1824, allocations: 0 / 0.7261 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.1829, allocations: 276.3 kB / 0.7263 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.1829, allocations: 11.94 kB / 0.7264 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.1829, allocations: 4 kB / 0.7264 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1831, allocations: 23.98 kB / 0.7264 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1832, allocations: 31.95 kB / 0.7264 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1832, allocations: 4 kB / 0.7264 GB, free: 7.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.153e-05/0.1833, allocations: 110.1 kB / 0.7265 GB, free: 7.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1833, allocations: 0 / 0.7265 GB, free: 7.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002063/0.1835, allocations: 28 kB / 0.7266 GB, free: 7.352 MB / 0.545 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.00012/0.1836, allocations: 103.1 kB / 0.7266 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005895/0.1842, allocations: 347.8 kB / 0.727 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1842, allocations: 4 kB / 0.727 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.1845, allocations: 153 kB / 0.7271 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1847, allocations: 23.81 kB / 0.7272 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.1852, allocations: 282.7 kB / 0.7274 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.493e-05/0.1853, allocations: 83.33 kB / 0.7275 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1854, allocations: 19.41 kB / 0.7275 GB, free: 6.227 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1854, allocations: 0 / 0.7275 GB, free: 6.227 MB / 0.545 GB Notification: Performance of Templates: time 0.003255/0.1886, allocations: 1.48 MB / 0.729 GB, free: 4.762 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.6028471840545535] Failed to read output from testmodel.py, exit status != 0: 0.19689072435721755 0.21086627500000002 0.032242282000000004 Calling exit ...