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.001458/0.001458, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001766/0.001766, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.8 MB, free: 7.812 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.9868/0.9868, allocations: 145 MB / 458.2 MB, free: 15.26 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",version="2.0",platforms={"static"}) [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.001977/0.001977, allocations: 66.12 kB / 0.6338 GB, free: 6.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1968, allocations: 87.89 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002913/0.1997, allocations: 1.477 MB / 0.7211 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.2007, allocations: 0.4949 MB / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.2008, allocations: 0 / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.2009, allocations: 11.86 kB / 0.7216 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.2009, allocations: 15.86 kB / 0.7216 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.2012, allocations: 47.88 kB / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.2014, allocations: 91.83 kB / 0.7217 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2015, allocations: 16.16 kB / 0.7218 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.2017, allocations: 67.78 kB / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.2018, allocations: 39.83 kB / 0.7219 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.2018, allocations: 12 kB / 0.7219 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-05/0.2019, allocations: 8 kB / 0.7219 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.2019, allocations: 15.97 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.202, allocations: 35.86 kB / 0.7219 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.2022, allocations: 91.62 kB / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2022, allocations: 0 / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2022, allocations: 0 / 0.722 GB, free: 12.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2022, allocations: 0 / 0.722 GB, free: 12.43 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.0007132/0.2029, allocations: 385.3 kB / 0.7224 GB, free: 12.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.203, allocations: 16.02 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.261e-05/0.203, allocations: 192 / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.203, allocations: 38.75 kB / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.2032, allocations: 20.88 kB / 0.7225 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.2034, allocations: 122.5 kB / 0.7226 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.2034, allocations: 8.375 kB / 0.7226 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.2034, allocations: 12.12 kB / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.2038, allocations: 151.2 kB / 0.7227 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2038, allocations: 0 / 0.7227 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2038, allocations: 8 kB / 0.7227 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2038, allocations: 0 / 0.7227 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.2041, allocations: 117.6 kB / 0.7229 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.2047, allocations: 291.8 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.205, allocations: 132.1 kB / 0.7233 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.2052, allocations: 98.64 kB / 0.7234 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2052, allocations: 3.984 kB / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.2056, allocations: 157 kB / 0.7235 GB, free: 10.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.2056, allocations: 0 / 0.7235 GB, free: 10.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0007998/0.2064, allocations: 334.6 kB / 0.7238 GB, free: 10.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.2064, allocations: 93.03 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2066, allocations: 126.1 kB / 0.724 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.2066, allocations: 33.7 kB / 0.7241 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.2067, allocations: 96.72 kB / 0.7242 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2067, allocations: 19.83 kB / 0.7242 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.2068, allocations: 29.72 kB / 0.7242 GB, free: 9.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2069, allocations: 326.8 kB / 0.7245 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.2071, allocations: 123.3 kB / 0.7246 GB, free: 9.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2073, allocations: 123.4 kB / 0.7248 GB, free: 9.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.2077, allocations: 181.9 kB / 0.7249 GB, free: 9.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2077, allocations: 0 / 0.7249 GB, free: 9.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005639/0.2083, allocations: 328.3 kB / 0.7252 GB, free: 8.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.2083, allocations: 59.41 kB / 0.7253 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2083, allocations: 3.938 kB / 0.7253 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2083, allocations: 4 kB / 0.7253 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2085, allocations: 15.98 kB / 0.7253 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2085, allocations: 3.984 kB / 0.7253 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2086, allocations: 23.92 kB / 0.7253 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.2086, allocations: 4 kB / 0.7254 GB, free: 8.664 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.0001442/0.2088, allocations: 159.5 kB / 0.7255 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.2088, allocations: 12.05 kB / 0.7255 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.2089, allocations: 12.66 kB / 0.7255 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2089, allocations: 3.984 kB / 0.7255 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2089, allocations: 0 / 0.7255 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.2089, allocations: 7.938 kB / 0.7255 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.209, allocations: 148.8 kB / 0.7257 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.209, allocations: 4 kB / 0.7257 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.2091, allocations: 12.23 kB / 0.7257 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2091, allocations: 4 kB / 0.7257 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.2091, allocations: 4 kB / 0.7257 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.2091, allocations: 7.984 kB / 0.7257 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2092, allocations: 3.984 kB / 0.7257 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.2097, allocations: 276.3 kB / 0.726 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.2097, allocations: 7.953 kB / 0.726 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.2097, allocations: 0 / 0.726 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2099, allocations: 31.97 kB / 0.726 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.21, allocations: 35.89 kB / 0.7261 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.21, allocations: 7.938 kB / 0.7261 GB, free: 7.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.922e-05/0.2101, allocations: 101.8 kB / 0.7262 GB, free: 7.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2101, allocations: 0 / 0.7262 GB, free: 7.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002169/0.2103, allocations: 28 kB / 0.7262 GB, free: 7.719 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.0008473/0.2112, allocations: 0.8032 MB / 0.727 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.2118, allocations: 351.7 kB / 0.7273 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2118, allocations: 0 / 0.7273 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.2121, allocations: 161 kB / 0.7275 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2123, allocations: 23.81 kB / 0.7275 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.215, allocations: 2.035 MB / 0.7295 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.2151, allocations: 71.58 kB / 0.7295 GB, free: 4.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.075e-05/0.2151, allocations: 19.92 kB / 0.7296 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.2152, allocations: 19.44 kB / 0.7296 GB, free: 3.977 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2152, allocations: 0 / 0.7296 GB, free: 3.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.2392, allocations: 3.367 MB / 0.7329 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.17, allocations: 11.34 kB / 0.7329 GB, free: 0.7812 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.974882166017778] Failed to read output from testmodel.py, exit status != 0: 11.330938508966938 11.349376203 11.143336681 Calling exit ...