Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 111 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003311/0.003311, allocations: 71.88 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7873, allocations: 168.7 MB / 1.269 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003363/0.7906, allocations: 1.358 MB / 1.27 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.7908, allocations: 31.89 kB / 1.27 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.7909, allocations: 0 / 1.27 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.791, allocations: 15.91 kB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.7912, allocations: 23.86 kB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.7912, allocations: 0 / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.541e-05/0.7912, allocations: 7.938 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.7913, allocations: 4 kB / 1.27 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.7913, allocations: 11.92 kB / 1.27 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.7914, allocations: 15.92 kB / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.7914, allocations: 0 / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.7914, allocations: 8 kB / 1.27 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.7915, allocations: 11.92 kB / 1.27 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.7915, allocations: 7.938 kB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.7916, allocations: 23.7 kB / 1.27 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7916, allocations: 4 kB / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7916, allocations: 3.938 kB / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.7917, allocations: 0 / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004071/0.7921, allocations: 347.6 kB / 1.271 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7921, allocations: 8.031 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.7922, allocations: 30.75 kB / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.7922, allocations: 4.938 kB / 1.271 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.7924, allocations: 176.3 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.7924, allocations: 384 / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.7924, allocations: 384 / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.7925, allocations: 38.19 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.7925, allocations: 3.938 kB / 1.271 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.7926, allocations: 4 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.7926, allocations: 4 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.7926, allocations: 4 kB / 1.271 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.7929, allocations: 240.9 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.793, allocations: 26.48 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.793, allocations: 4.859 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.793, allocations: 8.062 kB / 1.271 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.7931, allocations: 30.56 kB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.7931, allocations: 0 / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.7932, allocations: 45.64 kB / 1.271 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.7933, allocations: 51.41 kB / 1.271 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.7934, allocations: 109.8 kB / 1.271 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.7934, allocations: 29.64 kB / 1.271 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.7935, allocations: 84.14 kB / 1.271 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.7935, allocations: 8.125 kB / 1.271 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.7935, allocations: 13.66 kB / 1.271 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7937, allocations: 318.8 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.7937, allocations: 4 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.7937, allocations: 0 / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.7937, allocations: 8.859 kB / 1.272 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.7937, allocations: 7.938 kB / 1.272 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.968e-05/0.7938, allocations: 45.72 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.7938, allocations: 4 kB / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7938, allocations: 0 / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7938, allocations: 3.984 kB / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.7939, allocations: 4 kB / 1.272 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7939, allocations: 3.938 kB / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.7939, allocations: 0 / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.7939, allocations: 0 / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 8.31e-05/0.794, allocations: 114.3 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.794, allocations: 4.031 kB / 1.272 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.7941, allocations: 49.16 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7941, allocations: 0 / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7941, allocations: 0 / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7941, allocations: 3.984 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.7943, allocations: 161.6 kB / 1.272 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7943, allocations: 0 / 1.272 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.7943, allocations: 4 kB / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7943, allocations: 0 / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.7943, allocations: 0 / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7943, allocations: 4.031 kB / 1.272 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7943, allocations: 3.984 kB / 1.272 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.7945, allocations: 135.4 kB / 1.272 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.7945, allocations: 81.11 kB / 1.272 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.7945, allocations: 0 / 1.272 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.7946, allocations: 0 / 1.272 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.7946, allocations: 7.984 kB / 1.272 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.7946, allocations: 32 / 1.272 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.7946, allocations: 95.22 kB / 1.272 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.7946, allocations: 4 kB / 1.272 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002415/0.7949, allocations: 0 / 1.272 GB, free: 0.9414 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0005763/0.7955, allocations: 0.6922 MB / 1.273 GB, free: 232 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.7955, allocations: 4 kB / 1.273 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7956, allocations: 0 / 1.273 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.7956, allocations: 4 kB / 1.273 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.7958, allocations: 4 kB / 1.273 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.797, allocations: 1.179 MB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.7973, allocations: 0.6807 MB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000105/0.7974, allocations: 8.062 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.7974, allocations: 15.38 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.7974, allocations: 4 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.8227, allocations: 1.388 MB / 1.276 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/9.137, allocations: 15.33 kB / 1.276 GB, free: 12.89 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.059986121021211] Failed to read output from testmodel.py, exit status != 0: 9.212461493909359 9.238934476 8.44217886 Calling exit ...