Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001543/0.001543, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001529/0.001529, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.563/1.563, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.022/1.022, allocations: 150 MB / 460.2 MB, free: 5.328 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002067/0.002067, allocations: 70.48 kB / 0.6368 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2084, allocations: 89.14 MB / 0.7238 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003482/0.2119, allocations: 1.492 MB / 0.7253 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2131, allocations: 0.52 MB / 0.7258 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.2132, allocations: 0 / 0.7258 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.2134, allocations: 19.86 kB / 0.7258 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.2134, allocations: 7.875 kB / 0.7258 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.2137, allocations: 51.86 kB / 0.7259 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.214, allocations: 91.83 kB / 0.7259 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2141, allocations: 20.17 kB / 0.726 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.2143, allocations: 55.77 kB / 0.726 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.356e-05/0.2144, allocations: 39.89 kB / 0.7261 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.2144, allocations: 11.94 kB / 0.7261 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.2145, allocations: 12 kB / 0.7261 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.2145, allocations: 7.984 kB / 0.7261 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.2146, allocations: 47.72 kB / 0.7261 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.2148, allocations: 95.89 kB / 0.7262 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2148, allocations: 3.938 kB / 0.7262 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2148, allocations: 0 / 0.7262 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.2148, allocations: 0 / 0.7262 GB, free: 1.629 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.0008689/0.2157, allocations: 458.5 kB / 0.7267 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.2157, allocations: 12.02 kB / 0.7267 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.523e-05/0.2157, allocations: 4.188 kB / 0.7267 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.2158, allocations: 34.75 kB / 0.7267 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.216, allocations: 20.88 kB / 0.7267 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.2163, allocations: 196.2 kB / 0.7269 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2163, allocations: 12.36 kB / 0.7269 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.2164, allocations: 12.12 kB / 0.7269 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.2167, allocations: 113.6 kB / 0.727 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2167, allocations: 0 / 0.727 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2167, allocations: 7.984 kB / 0.7271 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2167, allocations: 3.938 kB / 0.7271 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.2171, allocations: 87.92 kB / 0.7271 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.2177, allocations: 324.8 kB / 0.7275 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.2181, allocations: 102.4 kB / 0.7276 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2183, allocations: 68.94 kB / 0.7276 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.2183, allocations: 0 / 0.7276 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.2186, allocations: 123.3 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.2186, allocations: 0 / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0008138/0.2195, allocations: 275.2 kB / 0.728 GB, free: 15.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.2195, allocations: 89.09 kB / 0.7281 GB, free: 15.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2197, allocations: 135.9 kB / 0.7282 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.2197, allocations: 25.7 kB / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.2198, allocations: 96.09 kB / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.2198, allocations: 27.89 kB / 0.7284 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.2199, allocations: 25.72 kB / 0.7284 GB, free: 15.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2201, allocations: 326.8 kB / 0.7287 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.2203, allocations: 67.95 kB / 0.7288 GB, free: 14.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.2205, allocations: 63.95 kB / 0.7288 GB, free: 14.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.2209, allocations: 185.9 kB / 0.729 GB, free: 14.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2209, allocations: 0 / 0.729 GB, free: 14.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005665/0.2215, allocations: 265.1 kB / 0.7292 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.2215, allocations: 67.39 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2215, allocations: 0 / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2215, allocations: 4 kB / 0.7293 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2217, allocations: 15.98 kB / 0.7293 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2217, allocations: 0 / 0.7293 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2218, allocations: 35.86 kB / 0.7294 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2219, allocations: 8 kB / 0.7294 GB, free: 14.09 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.0001546/0.222, allocations: 155.5 kB / 0.7295 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.222, allocations: 11.95 kB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.2221, allocations: 8.719 kB / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2221, allocations: 0 / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2221, allocations: 0 / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2221, allocations: 7.938 kB / 0.7295 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.2223, allocations: 185.6 kB / 0.7297 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2223, allocations: 0 / 0.7297 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.2224, allocations: 19.92 kB / 0.7297 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2224, allocations: 4 kB / 0.7297 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.2224, allocations: 3.984 kB / 0.7298 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2224, allocations: 0 / 0.7298 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2224, allocations: 0 / 0.7298 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.2229, allocations: 254.6 kB / 0.73 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.223, allocations: 92.94 kB / 0.7301 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.223, allocations: 0 / 0.7301 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2232, allocations: 23.97 kB / 0.7301 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.2233, allocations: 35.95 kB / 0.7301 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2233, allocations: 7.938 kB / 0.7301 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.047e-05/0.2234, allocations: 101.5 kB / 0.7302 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2234, allocations: 0 / 0.7302 GB, free: 13.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002164/0.2236, allocations: 24 kB / 0.7303 GB, free: 13.06 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.000941/0.2246, allocations: 0.7819 MB / 0.731 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005826/0.2252, allocations: 262.8 kB / 0.7313 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2252, allocations: 0 / 0.7313 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.2255, allocations: 131.4 kB / 0.7314 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2257, allocations: 21.48 kB / 0.7314 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.2287, allocations: 1.77 MB / 0.7332 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.2291, allocations: 0.6923 MB / 0.7338 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.432e-05/0.2291, allocations: 11.86 kB / 0.7338 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.2292, allocations: 31.42 kB / 0.7339 GB, free: 9.18 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.2292, allocations: 0 / 0.7339 GB, free: 9.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.2512, allocations: 3.122 MB / 0.7369 GB, free: 6.191 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/8.545, allocations: 11.47 kB / 0.7369 GB, free: 6.184 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.634357168048155] Failed to read output from testmodel.py, exit status != 0: 8.673339188972022 8.689345426000001 8.471470312 Calling exit ...