Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001789/0.001789, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002316/0.002316, allocations: 215.3 kB / 22.24 MB, free: 5.262 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002556/0.002556, allocations: 285.9 kB / 312.7 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 14.68 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002973/0.002973, allocations: 108.9 kB / 0.7395 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1679, allocations: 95.38 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002543/0.1705, allocations: 1.498 MB / 0.8341 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.1713, allocations: 0.4887 MB / 0.8345 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.1714, allocations: 4 kB / 0.8346 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.18e-05/0.1715, allocations: 3.938 kB / 0.8346 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.1715, allocations: 11.88 kB / 0.8346 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1718, allocations: 51.86 kB / 0.8346 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1719, allocations: 99.7 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.172, allocations: 12.17 kB / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1722, allocations: 55.83 kB / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.1723, allocations: 39.83 kB / 0.8348 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1723, allocations: 8 kB / 0.8348 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.513e-05/0.1723, allocations: 16 kB / 0.8348 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.1724, allocations: 15.92 kB / 0.8349 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1724, allocations: 35.86 kB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1726, allocations: 91.91 kB / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1726, allocations: 0 / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1726, allocations: 0 / 0.835 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.1726, allocations: 0 / 0.835 GB, free: 5.926 MB / 0.5762 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.0006459/0.1732, allocations: 377.4 kB / 0.8353 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1733, allocations: 9.938 kB / 0.8353 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.1733, allocations: 46.73 kB / 0.8354 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1735, allocations: 20.88 kB / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1737, allocations: 138.3 kB / 0.8355 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1737, allocations: 4.375 kB / 0.8355 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.1737, allocations: 8.375 kB / 0.8356 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.174, allocations: 151.2 kB / 0.8357 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.174, allocations: 0 / 0.8357 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1741, allocations: 0 / 0.8357 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1741, allocations: 4 kB / 0.8357 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1744, allocations: 125.6 kB / 0.8358 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.1749, allocations: 287.8 kB / 0.8361 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1752, allocations: 128.2 kB / 0.8362 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.1754, allocations: 98.64 kB / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1754, allocations: 0 / 0.8363 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.1757, allocations: 160.9 kB / 0.8365 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1757, allocations: 0 / 0.8365 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000737/0.1765, allocations: 334.6 kB / 0.8368 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1765, allocations: 89.09 kB / 0.8369 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1766, allocations: 136.6 kB / 0.837 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1767, allocations: 33.7 kB / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1767, allocations: 92.09 kB / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1768, allocations: 23.83 kB / 0.8371 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1768, allocations: 29.72 kB / 0.8372 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.177, allocations: 326.8 kB / 0.8375 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1772, allocations: 123.3 kB / 0.8376 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1774, allocations: 123.4 kB / 0.8377 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1778, allocations: 189.8 kB / 0.8379 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1778, allocations: 0 / 0.8379 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005448/0.1783, allocations: 320.3 kB / 0.8382 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.1784, allocations: 67.39 kB / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1784, allocations: 0 / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1784, allocations: 0 / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1785, allocations: 15.98 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1785, allocations: 0 / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1787, allocations: 27.97 kB / 0.8383 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.1787, allocations: 7.938 kB / 0.8383 GB, free: 2.156 MB / 0.5762 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.000123/0.1788, allocations: 152.2 kB / 0.8385 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1788, allocations: 11.95 kB / 0.8385 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.1789, allocations: 8.719 kB / 0.8385 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1789, allocations: 4 kB / 0.8385 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1789, allocations: 4 kB / 0.8385 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1789, allocations: 3.984 kB / 0.8385 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.179, allocations: 152.8 kB / 0.8386 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.179, allocations: 7.922 kB / 0.8386 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.1791, allocations: 12.23 kB / 0.8387 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1791, allocations: 0 / 0.8387 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1791, allocations: 11.94 kB / 0.8387 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1791, allocations: 0 / 0.8387 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1791, allocations: 3.938 kB / 0.8387 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.1796, allocations: 284.3 kB / 0.8389 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.885e-05/0.1796, allocations: 11.89 kB / 0.839 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1797, allocations: 0 / 0.839 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1798, allocations: 23.97 kB / 0.839 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.1799, allocations: 35.95 kB / 0.839 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1799, allocations: 4 kB / 0.839 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.013e-05/0.18, allocations: 103.2 kB / 0.8391 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.18, allocations: 0 / 0.8391 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002129/0.1802, allocations: 32 kB / 0.8391 GB, free: 1.211 MB / 0.5762 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.0008015/0.181, allocations: 0.807 MB / 0.8399 GB, free: 372 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.1816, allocations: 343.8 kB / 0.8403 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1816, allocations: 0 / 0.8403 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.1819, allocations: 165 kB / 0.8404 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1821, allocations: 13.03 kB / 0.8404 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1846, allocations: 2.03 MB / 0.8424 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.762e-05/0.1846, allocations: 75.58 kB / 0.8425 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.181e-05/0.1847, allocations: 7.984 kB / 0.8425 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.1847, allocations: 23.44 kB / 0.8425 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.1847, allocations: 0 / 0.8425 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.2143, allocations: 3.758 MB / 0.8462 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.2, allocations: 14.8 kB / 0.8462 GB, free: 9.879 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.40167798474431] Failed to read output from testmodel.py, exit status != 0: 11.3067532540299 11.336354936 11.158545692 Calling exit ...