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.001459/0.001459, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001561/0.001561, allocations: 217.2 kB / 23.03 MB, free: 4.949 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.378/3.378, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",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.002065/0.002065, allocations: 70.89 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4397, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00393/0.4436, allocations: 1.497 MB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.4459, allocations: 1.204 MB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.446, allocations: 4 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.4462, allocations: 15.86 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.4465, allocations: 43.77 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.4468, allocations: 58.84 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.4471, allocations: 143.6 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.4473, allocations: 45.48 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.4474, allocations: 83.77 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.4476, allocations: 55.64 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.4477, allocations: 12 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.4478, allocations: 28 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.4479, allocations: 51.81 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.448, allocations: 63.64 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.4484, allocations: 199.2 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4484, allocations: 0 / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.228e-06/0.4484, allocations: 4 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.4484, allocations: 3.938 kB / 1.349 GB, free: 12.45 MB / 1.045 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.0008618/0.4493, allocations: 421.4 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4493, allocations: 15.97 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.4493, allocations: 4.125 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.051e-05/0.4494, allocations: 38.75 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.434e-05/0.4495, allocations: 20.8 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.4499, allocations: 202 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.4501, allocations: 226.2 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.4501, allocations: 8.125 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.4506, allocations: 264.3 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4507, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.4507, allocations: 8 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.4507, allocations: 7.984 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.726e-05/0.4508, allocations: 39.97 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4522, allocations: 407.6 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.4523, allocations: 34.56 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.4524, allocations: 16.86 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.4524, allocations: 7.984 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.4525, allocations: 34.56 kB / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.4525, allocations: 0 / 1.35 GB, free: 10.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004287/0.4529, allocations: 113.7 kB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.453, allocations: 55.34 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.4532, allocations: 219.7 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.4533, allocations: 29.7 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4534, allocations: 128.2 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.4534, allocations: 23.8 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.4535, allocations: 29.72 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4537, allocations: 334.8 kB / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.4538, allocations: 27.98 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.4539, allocations: 102.2 kB / 1.351 GB, free: 9.395 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.4541, allocations: 138.2 kB / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4541, allocations: 0 / 1.352 GB, free: 9.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003037/0.4544, allocations: 157.4 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4544, allocations: 10.03 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4545, allocations: 0 / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4545, allocations: 7.938 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4546, allocations: 31.86 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4546, allocations: 4 kB / 1.352 GB, free: 9.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.4547, allocations: 7.938 kB / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4547, allocations: 8 kB / 1.352 GB, free: 8.996 MB / 1.045 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.0001864/0.4549, allocations: 150 kB / 1.352 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.455, allocations: 19.86 kB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.4552, allocations: 119.1 kB / 1.352 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4552, allocations: 3.938 kB / 1.352 GB, free: 8.688 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4552, allocations: 4 kB / 1.352 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4553, allocations: 0 / 1.352 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.4555, allocations: 180.7 kB / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4555, allocations: 0 / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.4556, allocations: 19.92 kB / 1.352 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4556, allocations: 0 / 1.352 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4556, allocations: 0 / 1.352 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4556, allocations: 7.938 kB / 1.352 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4556, allocations: 4 kB / 1.352 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.4559, allocations: 187.8 kB / 1.352 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.4559, allocations: 15.84 kB / 1.352 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.4559, allocations: 0 / 1.352 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.4562, allocations: 23.91 kB / 1.352 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.4562, allocations: 11.92 kB / 1.352 GB, free: 8.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.4562, allocations: 19.97 kB / 1.352 GB, free: 8.164 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001774/0.4564, allocations: 153.5 kB / 1.353 GB, free: 8.016 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4564, allocations: 4 kB / 1.353 GB, free: 8.012 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003205/0.4567, allocations: 35.89 kB / 1.353 GB, free: 7.977 MB / 1.045 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.000746/0.4575, allocations: 0.7461 MB / 1.353 GB, free: 7.207 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.4577, allocations: 72.41 kB / 1.353 GB, free: 7.137 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4577, allocations: 0 / 1.353 GB, free: 7.137 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.4577, allocations: 27.92 kB / 1.353 GB, free: 7.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.458, allocations: 27.7 kB / 1.353 GB, free: 7.082 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.4605, allocations: 1.909 MB / 1.355 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.4607, allocations: 130 kB / 1.355 GB, free: 4.875 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.4608, allocations: 48.89 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.4609, allocations: 47.41 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.4609, allocations: 0 / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.4921, allocations: 4.553 MB / 1.36 GB, free: 432 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.41, allocations: 9.406 kB / 1.36 GB, free: 424 kB / 1.045 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.265552253928035] Failed to read output from testmodel.py, exit status != 0: 12.580678805941716 12.597964292 12.146317137 Calling exit ...