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.001877/0.001877, 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.002762/0.002762, allocations: 210.8 kB / 22.25 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.742 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.283/3.283, allocations: 0.4892 GB / 0.7944 GB, free: 35.81 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.003119/0.003119, allocations: 77.31 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3742, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00287/0.3771, allocations: 1.399 MB / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.3773, allocations: 44.42 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.3773, allocations: 7.875 kB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.3775, allocations: 7.922 kB / 1.326 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.3776, allocations: 15.92 kB / 1.326 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-06/0.3776, allocations: 4 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.3776, allocations: 19.92 kB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.3777, allocations: 0 / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.3777, allocations: 7.938 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.3778, allocations: 15.92 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.3778, allocations: 0 / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.794e-05/0.3778, allocations: 8 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.3779, allocations: 11.98 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.3779, allocations: 3.938 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.378, allocations: 36.12 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.378, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.378, allocations: 4 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.378, allocations: 0 / 1.327 GB, free: 0.8164 MB / 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.0003713/0.3784, allocations: 258.2 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3784, allocations: 12.03 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.3785, allocations: 30.75 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.3785, allocations: 4.891 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3787, allocations: 126.4 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.3787, allocations: 4.375 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3787, allocations: 384 / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.3788, allocations: 34.25 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3788, allocations: 11.92 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.3788, allocations: 0 / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3788, allocations: 0 / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.3788, allocations: 4 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.379, allocations: 124.8 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.059e-05/0.379, allocations: 18.52 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.3791, allocations: 12.92 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3791, allocations: 0 / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3791, allocations: 30.56 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3791, allocations: 0 / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.3793, allocations: 49.58 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3794, allocations: 51.41 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3795, allocations: 121.8 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3795, allocations: 25.7 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.3796, allocations: 84.14 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3796, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.3796, allocations: 13.72 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3798, allocations: 314.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.3798, allocations: 11.92 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.3798, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.3798, allocations: 17.05 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3798, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.68e-05/0.3799, allocations: 37.66 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3799, allocations: 7.938 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3799, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3799, allocations: 4 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.38, allocations: 11.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.38, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.38, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.38, allocations: 0 / 1.328 GB, free: 15.23 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 8.304e-05/0.3801, allocations: 113.9 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.3801, allocations: 11.94 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.827e-05/0.3802, allocations: 41.09 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3802, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3802, allocations: 4 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3802, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3803, allocations: 124.8 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3803, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.3804, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3804, allocations: 3.938 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.3804, allocations: 8.031 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3804, allocations: 3.938 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3804, allocations: 0 / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.3805, allocations: 65.08 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.3805, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3805, allocations: 7.938 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.3805, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.3805, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3805, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.205e-05/0.3806, allocations: 95.58 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3806, allocations: 4 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001919/0.3808, allocations: 4.031 kB / 1.328 GB, free: 14.66 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.0005458/0.3813, allocations: 0.6334 MB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.3814, allocations: 11.98 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3814, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.3814, allocations: 4.094 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3816, allocations: 5.625 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3827, allocations: 1.102 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.3828, allocations: 71.22 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.151e-05/0.3828, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.3829, allocations: 11.44 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3829, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.4104, allocations: 1.904 MB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.14, allocations: 6.703 kB / 1.332 GB, free: 10.93 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.94269359204918] Failed to read output from testmodel.py, exit status != 0: 12.25037201307714 12.27873791 11.894919128 Calling exit ...