Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001408/0.001408, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001645/0.001645, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.505/3.505, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_12_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.001988/0.001988, allocations: 70.02 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3712, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003301/0.3745, allocations: 1.404 MB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.3747, allocations: 44.34 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.3748, allocations: 0 / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.375, allocations: 15.92 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3751, allocations: 19.92 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.648e-06/0.3751, allocations: 0 / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.3752, allocations: 11.94 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3752, allocations: 4 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.3753, allocations: 11.92 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.3753, allocations: 11.92 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3753, allocations: 0 / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.3754, allocations: 12 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.3754, allocations: 3.984 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.3755, allocations: 11.94 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3756, allocations: 32.12 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3756, allocations: 7.984 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3756, allocations: 0 / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3756, allocations: 4 kB / 1.327 GB, free: 392 kB / 1.014 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.0003844/0.376, allocations: 258.2 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3761, allocations: 11.97 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.3761, allocations: 30.75 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.3761, allocations: 4.891 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.3764, allocations: 122.5 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3764, allocations: 384 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.3764, allocations: 8.312 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.3765, allocations: 34.25 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3765, allocations: 3.938 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3765, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.3765, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.3765, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.3767, allocations: 128.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.3768, allocations: 22.52 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.3768, allocations: 12.92 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3768, allocations: 3.984 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3769, allocations: 30.56 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3769, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001843/0.377, allocations: 49.53 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3771, allocations: 51.41 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3772, allocations: 117.8 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3773, allocations: 29.83 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.3773, allocations: 80.14 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3773, allocations: 7.969 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3774, allocations: 17.72 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3776, allocations: 310.8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.3776, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.3776, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.3777, allocations: 16.92 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3777, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.025e-05/0.3777, allocations: 45.58 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3778, allocations: 9.812 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3778, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3778, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/0.3778, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3778, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.3779, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3779, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 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 9.765e-05/0.378, allocations: 121.9 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.378, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.3781, allocations: 37.17 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3781, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3781, allocations: 7.875 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3781, allocations: 3.984 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3782, allocations: 124.8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3782, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.3782, allocations: 8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.3782, allocations: 7.969 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3782, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3782, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3783, allocations: 3.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.3783, allocations: 61.08 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.3784, allocations: 12 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3784, allocations: 3.938 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.3784, allocations: 4.031 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.3784, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.3784, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.638e-05/0.3785, allocations: 95.27 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3785, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001984/0.3787, allocations: 0 / 1.329 GB, free: 14.22 MB / 1.029 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.0006208/0.3793, allocations: 0.6308 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.731e-05/0.3794, allocations: 11.98 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3794, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.3794, allocations: 3.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.3795, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3807, allocations: 1.114 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3811, allocations: 0.6768 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.136e-05/0.3812, allocations: 7.938 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3812, allocations: 11.53 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3812, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.4285, allocations: 1.501 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.36, allocations: 6.984 kB / 1.333 GB, free: 10.27 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.677403293084353] Failed to read output from testmodel.py, exit status != 0: 12.60629310598597 12.629455309 12.250666916 Calling exit ...