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.001447/0.001447, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001624/0.001624, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.8565/0.8565, allocations: 145 MB / 458.2 MB, free: 15.54 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.00263/0.00263, allocations: 78.47 kB / 0.6344 GB, free: 6.867 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1665, allocations: 87.87 MB / 0.7202 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00284/0.1694, allocations: 1.517 MB / 0.7217 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1704, allocations: 0.5299 MB / 0.7222 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1705, allocations: 7.938 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.1706, allocations: 3.938 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.1707, allocations: 7.875 kB / 0.7222 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.171, allocations: 55.86 kB / 0.7223 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1712, allocations: 99.7 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1713, allocations: 8.172 kB / 0.7224 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.1715, allocations: 59.83 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.1716, allocations: 43.83 kB / 0.7225 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1716, allocations: 12 kB / 0.7225 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.1717, allocations: 12 kB / 0.7225 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.1717, allocations: 15.92 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.1718, allocations: 43.8 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.172, allocations: 83.69 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.172, allocations: 0 / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.172, allocations: 0 / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.172, allocations: 4 kB / 0.7226 GB, free: 12.49 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.0006854/0.1726, allocations: 385.4 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.1727, allocations: 8.031 kB / 0.723 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1728, allocations: 20.89 kB / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1731, allocations: 138.4 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1731, allocations: 4.375 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1731, allocations: 8.375 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1734, allocations: 121.7 kB / 0.7233 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1734, allocations: 0 / 0.7233 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1735, allocations: 8 kB / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1735, allocations: 0 / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1738, allocations: 91.86 kB / 0.7234 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.1743, allocations: 303.7 kB / 0.7237 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1746, allocations: 102.5 kB / 0.7238 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1748, allocations: 64.94 kB / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1748, allocations: 0 / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.1751, allocations: 123.3 kB / 0.7239 GB, free: 11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1751, allocations: 4 kB / 0.7239 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007147/0.1758, allocations: 275.2 kB / 0.7242 GB, free: 10.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.1759, allocations: 89.09 kB / 0.7243 GB, free: 10.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.176, allocations: 132.9 kB / 0.7244 GB, free: 10.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.176, allocations: 25.7 kB / 0.7244 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.1761, allocations: 108.1 kB / 0.7245 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1761, allocations: 20.56 kB / 0.7246 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.1762, allocations: 25.72 kB / 0.7246 GB, free: 10.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1764, allocations: 326.8 kB / 0.7249 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1765, allocations: 63.95 kB / 0.725 GB, free: 9.887 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1767, allocations: 67.94 kB / 0.725 GB, free: 9.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.1771, allocations: 181.9 kB / 0.7252 GB, free: 9.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1771, allocations: 0 / 0.7252 GB, free: 9.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004957/0.1776, allocations: 256.9 kB / 0.7254 GB, free: 9.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/0.1776, allocations: 67.39 kB / 0.7255 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1776, allocations: 4 kB / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1776, allocations: 0 / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1777, allocations: 16.08 kB / 0.7255 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1777, allocations: 3.938 kB / 0.7255 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1779, allocations: 31.91 kB / 0.7256 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1779, allocations: 4 kB / 0.7256 GB, free: 9.215 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.000137/0.178, allocations: 159.4 kB / 0.7257 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1781, allocations: 11.95 kB / 0.7257 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1781, allocations: 12.7 kB / 0.7257 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1781, allocations: 4 kB / 0.7257 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1781, allocations: 4 kB / 0.7257 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1781, allocations: 3.984 kB / 0.7257 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1783, allocations: 160.9 kB / 0.7259 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1783, allocations: 4 kB / 0.7259 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.1783, allocations: 15.97 kB / 0.7259 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1784, allocations: 0 / 0.7259 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1784, allocations: 0 / 0.7259 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1784, allocations: 4 kB / 0.7259 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1784, allocations: 0 / 0.7259 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.1789, allocations: 254.6 kB / 0.7262 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.1789, allocations: 7.953 kB / 0.7262 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1789, allocations: 4 kB / 0.7262 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.179, allocations: 19.97 kB / 0.7262 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.1792, allocations: 39.95 kB / 0.7262 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1792, allocations: 4 kB / 0.7262 GB, free: 8.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.1792, allocations: 99.27 kB / 0.7263 GB, free: 8.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1792, allocations: 3.938 kB / 0.7263 GB, free: 8.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002103/0.1795, allocations: 27.94 kB / 0.7264 GB, free: 8.305 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.0001156/0.1796, allocations: 103.2 kB / 0.7265 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.1801, allocations: 258.6 kB / 0.7267 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1801, allocations: 0 / 0.7267 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.1804, allocations: 127.4 kB / 0.7268 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.1805, allocations: 15.98 kB / 0.7268 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.1811, allocations: 253 kB / 0.7271 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1814, allocations: 0.6963 MB / 0.7278 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.1815, allocations: 15.44 kB / 0.7278 GB, free: 6.746 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.1815, allocations: 0 / 0.7278 GB, free: 6.746 MB / 0.545 GB Notification: Performance of Templates: time 0.003299/0.1848, allocations: 1.477 MB / 0.7292 GB, free: 5.289 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.399599642958492] Failed to read output from testmodel.py, exit status != 0: 0.19459063978865743 0.20842579299999994 0.033388164000000005 Calling exit ...