Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.002275/0.002275, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.003/0.003, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.8 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.002106/0.002106, allocations: 71.05 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3053, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002716/0.308, allocations: 1.41 MB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001635/0.3082, allocations: 43.81 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.3082, allocations: 4 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.3083, allocations: 7.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.3085, allocations: 23.91 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.3085, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.3085, allocations: 15.94 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.3086, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.3086, allocations: 15.92 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.3087, allocations: 7.938 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3087, allocations: 0 / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.657e-05/0.3087, allocations: 12 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.3088, allocations: 7.969 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.3088, allocations: 11.94 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.3089, allocations: 27.44 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3089, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.546e-06/0.3089, allocations: 3.984 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3089, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 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.0003522/0.3093, allocations: 256.1 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3093, allocations: 8.031 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.3093, allocations: 38.73 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.3094, allocations: 4.891 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3095, allocations: 122.4 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3096, allocations: 4.359 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3096, allocations: 384 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.292e-05/0.3097, allocations: 30.27 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3097, allocations: 3.938 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.3097, allocations: 0 / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3097, allocations: 4 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.3097, allocations: 4 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.3099, allocations: 124.8 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.3099, allocations: 22.52 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.3099, allocations: 8.922 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.31, allocations: 0 / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.31, allocations: 38.55 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.31, allocations: 3.938 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.3101, allocations: 45.58 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3102, allocations: 59.47 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3103, allocations: 117.8 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3103, allocations: 25.7 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.3103, allocations: 84.14 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.3104, allocations: 3.984 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3104, allocations: 13.72 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3105, allocations: 314.8 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.3106, allocations: 0 / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.3106, allocations: 8 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.3106, allocations: 8.859 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3106, allocations: 0 / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.334e-05/0.3107, allocations: 49.58 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3107, allocations: 7.938 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3107, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3107, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.3107, allocations: 4 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3107, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.3108, allocations: 4.094 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3108, allocations: 0 / 1.286 GB, free: 8.543 MB / 0.9825 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.464e-05/0.3109, allocations: 117.8 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.3109, allocations: 3.938 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.311, allocations: 41.17 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.311, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.311, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.311, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3111, allocations: 128.7 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3111, allocations: 4.031 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.3111, allocations: 7.938 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.3111, allocations: 3.938 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.3111, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.3111, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3111, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.362e-05/0.3112, allocations: 65.08 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.3112, allocations: 8.031 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3112, allocations: 3.938 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.001e-05/0.3112, allocations: 3.938 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.3112, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.3112, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.391e-05/0.3113, allocations: 99.27 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3113, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000197/0.3115, allocations: 4 kB / 1.287 GB, free: 7.98 MB / 0.9825 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.0004911/0.312, allocations: 0.6213 MB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.706e-05/0.3121, allocations: 7.984 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3121, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.3121, allocations: 12.09 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3122, allocations: 0 / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3133, allocations: 1.112 MB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3136, allocations: 0.6768 MB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.694e-05/0.3137, allocations: 4 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.3137, allocations: 7.438 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3137, allocations: 0 / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3414, allocations: 1.51 MB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.84, allocations: 8 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.62046994199045] Failed to read output from testmodel.py, exit status != 0: 12.489199709845707 11.960383869 11.64803273 Calling exit ...