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.002418/0.002418, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002482/0.002482, allocations: 213.2 kB / 23.78 MB, free: 4.555 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.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.018/1.018, allocations: 150 MB / 463.9 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 178] 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.002038/0.002038, allocations: 70.33 kB / 0.6419 GB, free: 9.984 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2025, allocations: 89.18 MB / 0.729 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003034/0.2055, allocations: 1.476 MB / 0.7305 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2066, allocations: 0.491 MB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.2066, allocations: 0 / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2067, allocations: 7.875 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.2068, allocations: 23.78 kB / 0.731 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.2071, allocations: 43.95 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.2074, allocations: 99.75 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2075, allocations: 12.17 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.2077, allocations: 55.78 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.2078, allocations: 39.89 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.2078, allocations: 12 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.2079, allocations: 12 kB / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.2079, allocations: 19.91 kB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.208, allocations: 31.86 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2082, allocations: 91.91 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2082, allocations: 0 / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2082, allocations: 0 / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2082, allocations: 4 kB / 0.7314 GB, free: 14.46 MB / 0.5606 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.0007852/0.209, allocations: 389.3 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2091, allocations: 12.03 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.321e-05/0.2091, allocations: 8.125 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.2091, allocations: 30.75 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.2093, allocations: 20.88 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2096, allocations: 138.4 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2096, allocations: 4.375 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.2096, allocations: 12.12 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.21, allocations: 143.3 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.21, allocations: 0 / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.21, allocations: 8 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.21, allocations: 0 / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.2104, allocations: 121.6 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.2109, allocations: 287.8 kB / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.2113, allocations: 132.2 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2115, allocations: 90.64 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2116, allocations: 3.984 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.2119, allocations: 161 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.2119, allocations: 0 / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0008386/0.2127, allocations: 338.6 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.2128, allocations: 85.11 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.213, allocations: 132.9 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.213, allocations: 29.7 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.2131, allocations: 96.08 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2131, allocations: 23.84 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.2132, allocations: 25.7 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2133, allocations: 322.8 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.2136, allocations: 131.3 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.2138, allocations: 127.3 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.2142, allocations: 189.9 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2142, allocations: 0 / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005989/0.2148, allocations: 316.3 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.669e-05/0.2149, allocations: 67.39 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2149, allocations: 4 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2149, allocations: 0 / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.215, allocations: 15.98 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.215, allocations: 256 / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.2152, allocations: 31.8 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2152, allocations: 12 kB / 0.7347 GB, free: 10.68 MB / 0.5606 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.0001413/0.2154, allocations: 149.2 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.2154, allocations: 11.98 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.2154, allocations: 16.72 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2154, allocations: 0 / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2154, allocations: 0 / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2154, allocations: 3.938 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2156, allocations: 152.8 kB / 0.735 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2156, allocations: 3.938 kB / 0.735 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.2157, allocations: 15.97 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2157, allocations: 4 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2157, allocations: 4 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2157, allocations: 0 / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2157, allocations: 4 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.2163, allocations: 276.3 kB / 0.7353 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.2163, allocations: 15.94 kB / 0.7353 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.2163, allocations: 4 kB / 0.7354 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2165, allocations: 15.98 kB / 0.7354 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.2166, allocations: 39.95 kB / 0.7354 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2166, allocations: 7.938 kB / 0.7354 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.356e-05/0.2167, allocations: 111.2 kB / 0.7355 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2167, allocations: 0 / 0.7355 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000225/0.2169, allocations: 24 kB / 0.7355 GB, free: 9.742 MB / 0.5606 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.0008863/0.2178, allocations: 0.8189 MB / 0.7363 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.2184, allocations: 339.8 kB / 0.7367 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2184, allocations: 4 kB / 0.7367 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.2187, allocations: 165 kB / 0.7368 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.219, allocations: 19.92 kB / 0.7368 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.2218, allocations: 2.034 MB / 0.7388 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.123e-05/0.2219, allocations: 71.33 kB / 0.7389 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.049e-05/0.2219, allocations: 11.86 kB / 0.7389 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.222, allocations: 23.42 kB / 0.7389 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.222, allocations: 4 kB / 0.7389 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.2461, allocations: 3.37 MB / 0.7422 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.47, allocations: 6.719 kB / 0.7422 GB, free: 2.793 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.614592069061473] Failed to read output from testmodel.py, exit status != 0: 11.637956708087586 11.65617942 11.444515863 Calling exit ...