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.001141/0.001141, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008452/0.0008452, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8573/0.8573, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001292/0.001292, allocations: 237.3 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.66/0.66, allocations: 138.4 MB / 454.3 MB, free: 1.668 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.267e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.001588/0.001601, allocations: 1.489 MB / 0.6477 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006056/0.002206, allocations: 491.8 kB / 0.6482 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.002269, allocations: 1 kB / 0.6482 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.164e-05/0.00236, allocations: 15.86 kB / 0.6482 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.002401, allocations: 21.64 kB / 0.6482 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.002641, allocations: 44.14 kB / 0.6483 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.002781, allocations: 105.2 kB / 0.6484 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.002875, allocations: 8.062 kB / 0.6484 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.003035, allocations: 65.72 kB / 0.6484 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.0031, allocations: 39 kB / 0.6485 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.003121, allocations: 7.969 kB / 0.6485 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.003e-05/0.003161, allocations: 10.12 kB / 0.6485 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.003202, allocations: 19.67 kB / 0.6485 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.003248, allocations: 27.42 kB / 0.6485 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.003386, allocations: 105.2 kB / 0.6486 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003388, allocations: 3.938 kB / 0.6486 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003389, allocations: 1.031 kB / 0.6486 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003393, allocations: 3.938 kB / 0.6486 GB, free: 27.25 MB / 0.5105 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.0004332/0.003826, allocations: 377.8 kB / 0.649 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.003868, allocations: 10.25 kB / 0.649 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.003894, allocations: 37.33 kB / 0.649 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.808e-05/0.003992, allocations: 24.7 kB / 0.6491 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.004158, allocations: 137.7 kB / 0.6492 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.004176, allocations: 3.031 kB / 0.6492 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.004194, allocations: 10.94 kB / 0.6492 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.004417, allocations: 142.9 kB / 0.6493 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004426, allocations: 192 / 0.6493 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.004438, allocations: 6.656 kB / 0.6494 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.004443, allocations: 1.188 kB / 0.6494 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.004617, allocations: 129.5 kB / 0.6495 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.004979, allocations: 287.2 kB / 0.6497 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.005177, allocations: 129.2 kB / 0.6499 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.005284, allocations: 91.08 kB / 0.65 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.005296, allocations: 5.719 kB / 0.65 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.005512, allocations: 159.3 kB / 0.6501 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.005514, allocations: 0 / 0.6501 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004584/0.005972, allocations: 331.9 kB / 0.6504 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.00601, allocations: 88.88 kB / 0.6505 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.006082, allocations: 135.2 kB / 0.6506 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.006093, allocations: 28.23 kB / 0.6507 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.006141, allocations: 96.03 kB / 0.6508 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.006156, allocations: 19.38 kB / 0.6508 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.006201, allocations: 29.55 kB / 0.6508 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.246e-05/0.006234, allocations: 325 kB / 0.6511 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.006343, allocations: 120 kB / 0.6512 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.006443, allocations: 132.6 kB / 0.6514 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.006604, allocations: 187.1 kB / 0.6515 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006606, allocations: 4 kB / 0.6515 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002744/0.00688, allocations: 322.5 kB / 0.6519 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.006911, allocations: 68.17 kB / 0.6519 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006917, allocations: 0 / 0.6519 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.006928, allocations: 1.781 kB / 0.6519 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.006993, allocations: 16.3 kB / 0.6519 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.006999, allocations: 1.219 kB / 0.6519 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.007069, allocations: 25.84 kB / 0.652 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.007084, allocations: 3.688 kB / 0.652 GB, free: 24.31 MB / 0.5105 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 5.954e-05/0.007144, allocations: 158.7 kB / 0.6521 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.007156, allocations: 10.64 kB / 0.6521 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.007175, allocations: 9.938 kB / 0.6521 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007177, allocations: 0 / 0.6521 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.007181, allocations: 1.094 kB / 0.6521 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007184, allocations: 7.984 kB / 0.6521 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.738e-05/0.007251, allocations: 157 kB / 0.6523 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.007252, allocations: 0 / 0.6523 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.007286, allocations: 15.92 kB / 0.6523 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.007287, allocations: 1.531 kB / 0.6523 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.007298, allocations: 1.156 kB / 0.6523 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007299, allocations: 1.406 kB / 0.6523 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0073, allocations: 0 / 0.6523 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.007556, allocations: 286.1 kB / 0.6526 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.007565, allocations: 9.672 kB / 0.6526 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.007582, allocations: 3.406 kB / 0.6526 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.007638, allocations: 23.94 kB / 0.6526 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.007726, allocations: 34.48 kB / 0.6527 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.007735, allocations: 3.266 kB / 0.6527 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.007767, allocations: 101.8 kB / 0.6528 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.007767, allocations: 0 / 0.6528 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001371/0.007904, allocations: 26.12 kB / 0.6528 GB, free: 23.61 MB / 0.5105 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.0003676/0.008271, allocations: 0.819 MB / 0.6536 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.008554, allocations: 348.7 kB / 0.6539 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.008556, allocations: 5.844 kB / 0.6539 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.008678, allocations: 158.7 kB / 0.6541 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.008826, allocations: 19.56 kB / 0.6541 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.0101, allocations: 2.034 MB / 0.6561 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.01014, allocations: 76.11 kB / 0.6561 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.01018, allocations: 9.453 kB / 0.6562 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.01022, allocations: 19.81 kB / 0.6562 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.01022, allocations: 1.281 kB / 0.6562 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.02753, allocations: 3.888 MB / 0.66 GB, free: 18.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/6.522, allocations: 5.062 kB / 0.66 GB, free: 18.3 MB / 0.5105 GB " [Timeout remaining time 653] (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: 9.33850124757737] Failed to read output from testmodel.py, exit status != 0: 6.600641060620546 6.606843389 6.602069875 Calling exit ...