Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.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.001335/0.001335, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00155/0.00155, allocations: 218.5 kB / 22.25 MB, free: 4.855 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.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.816 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.331/3.331, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",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.002146/0.002146, allocations: 63.75 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3794, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003154/0.3826, allocations: 1.372 MB / 1.326 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000184/0.3828, allocations: 36.42 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.3828, allocations: 3.938 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.383, allocations: 15.86 kB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3831, allocations: 11.94 kB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.608e-06/0.3831, allocations: 0 / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.3832, allocations: 19.91 kB / 1.326 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.3832, allocations: 4.281 kB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.3833, allocations: 8 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.3833, allocations: 11.92 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3833, allocations: 0 / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.3834, allocations: 8 kB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.3834, allocations: 11.88 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.3835, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.3836, allocations: 35.84 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3836, allocations: 0 / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3836, allocations: 0 / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.3836, allocations: 3.984 kB / 1.327 GB, free: 0.8516 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.0004055/0.384, allocations: 258.2 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.3841, allocations: 16.03 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.886e-05/0.3841, allocations: 34.7 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.3842, allocations: 0.9375 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3843, allocations: 114.5 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3844, allocations: 8.359 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3844, allocations: 8.297 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3845, allocations: 30.27 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3845, allocations: 3.938 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3845, allocations: 0 / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.3845, allocations: 7.984 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.3845, allocations: 8 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.3849, allocations: 212 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/0.3849, allocations: 22.45 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.3849, allocations: 8.922 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.385, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.385, allocations: 34.56 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.385, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.3851, allocations: 37.69 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3852, allocations: 55.34 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3853, allocations: 117.8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3853, allocations: 29.83 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.3854, allocations: 84.14 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3854, allocations: 7.953 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.3854, allocations: 13.72 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3856, allocations: 314.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.3856, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-06/0.3856, allocations: 7.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.3856, allocations: 12.86 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3856, allocations: 3.938 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.179e-05/0.3857, allocations: 41.69 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3857, allocations: 8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3857, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.3858, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3858, allocations: 4 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.3858, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.3858, allocations: 0 / 1.328 GB, free: 15.18 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.946e-05/0.3859, allocations: 113.8 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3859, allocations: 3.953 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.386, allocations: 49.19 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.386, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.386, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.386, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.3862, allocations: 128.7 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3862, allocations: 0 / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.3862, allocations: 7.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3862, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.3862, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3862, allocations: 3.984 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3862, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3863, allocations: 139.5 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.3863, allocations: 3.953 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.3864, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.3864, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.3864, allocations: 3.984 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3864, allocations: 4 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.3865, allocations: 87.28 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3865, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002227/0.3867, allocations: 7.938 kB / 1.329 GB, free: 14.54 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.0005766/0.3873, allocations: 0.7036 MB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.912e-05/0.3874, allocations: 8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3874, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-06/0.3874, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3876, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3889, allocations: 1.187 MB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.263e-05/0.389, allocations: 63.34 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.917e-05/0.3891, allocations: 4 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.3891, allocations: 7.438 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3891, allocations: 3.938 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.4194, allocations: 1.891 MB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 6.812 kB / 1.332 GB, free: 10.68 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.728291515726596] Failed to read output from testmodel.py, exit status != 0: 11.93922991398722 11.95641127 11.569401193 Calling exit ...