Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001867/0.001867, 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.002368/0.002368, allocations: 213.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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.366/3.366, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002084/0.002084, allocations: 70.48 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4391, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003268/0.4424, allocations: 1.508 MB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.4442, allocations: 1.193 MB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.4442, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.4444, allocations: 19.86 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.4446, allocations: 43.77 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.4448, allocations: 59.16 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.445, allocations: 151.5 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.4452, allocations: 37.5 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.4453, allocations: 83.81 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.4455, allocations: 55.64 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.4455, allocations: 12 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.293e-05/0.4456, allocations: 28 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.4457, allocations: 55.81 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.4458, allocations: 59.7 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.446, allocations: 203.2 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4461, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4461, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4461, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000761/0.4468, allocations: 418.9 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4469, allocations: 8.031 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.849e-05/0.4469, allocations: 38.75 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.447, allocations: 28.72 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.4474, allocations: 206 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.4476, allocations: 222.1 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4476, allocations: 4.375 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.448, allocations: 264.3 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.4481, allocations: 3.938 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.4481, allocations: 4 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.4481, allocations: 7.984 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.4482, allocations: 46.92 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.4493, allocations: 407.6 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.4494, allocations: 42.5 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.4494, allocations: 20.86 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.4495, allocations: 7.984 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4495, allocations: 30.56 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 3.096e-06/0.4495, allocations: 3.984 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0002793/0.4498, allocations: 113.5 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4498, allocations: 55.34 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4501, allocations: 215.8 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4501, allocations: 25.7 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4502, allocations: 124.2 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.4502, allocations: 31.94 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.4503, allocations: 33.72 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4505, allocations: 326.8 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.4505, allocations: 27.98 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4506, allocations: 98.22 kB / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4508, allocations: 146.1 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4508, allocations: 4 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002579/0.4511, allocations: 149.3 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4511, allocations: 8 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.4511, allocations: 4 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4511, allocations: 384 / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4512, allocations: 31.92 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4513, allocations: 11.94 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.4513, allocations: 15.89 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.4513, allocations: 8 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001488/0.4515, allocations: 143.1 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.4515, allocations: 19.84 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.4518, allocations: 119.2 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.4518, allocations: 0 / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4518, allocations: 7.938 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4518, allocations: 0 / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.452, allocations: 184.7 kB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.452, allocations: 0 / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.4521, allocations: 15.98 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4521, allocations: 3.938 kB / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.4521, allocations: 4 kB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4521, allocations: 0 / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4521, allocations: 7.938 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.4523, allocations: 187.4 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.4524, allocations: 7.953 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.4524, allocations: 0 / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4526, allocations: 27.97 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.4526, allocations: 11.92 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.4527, allocations: 11.98 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001603/0.4528, allocations: 160.1 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4528, allocations: 0 / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003165/0.4532, allocations: 35.89 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007366/0.4539, allocations: 0.7495 MB / 1.371 GB, free: 5.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.4541, allocations: 67.84 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4541, allocations: 0 / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.4541, allocations: 23.98 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.4544, allocations: 20.67 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.4567, allocations: 1.917 MB / 1.373 GB, free: 3.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.4568, allocations: 122.1 kB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.4569, allocations: 52.92 kB / 1.374 GB, free: 2.941 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.457, allocations: 47.41 kB / 1.374 GB, free: 2.895 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.457, allocations: 4 kB / 1.374 GB, free: 2.891 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.4961, allocations: 4.888 MB / 1.378 GB, free: 14.17 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.48, allocations: 8.781 kB / 1.378 GB, free: 14.16 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.339984152000397] Failed to read output from testmodel.py, exit status != 0: 12.586105709895492 12.603457286 12.15418337 Calling exit ...