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.00142/0.00142, allocations: 116.1 kB / 17.17 MB, free: 6 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.001466/0.001466, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.152/3.152, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 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.002198/0.002198, allocations: 63.89 kB / 1.165 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002969/1.162, allocations: 1.526 MB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001542/1.163, allocations: 1.15 MB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/1.164, allocations: 1.438 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/1.164, allocations: 18.48 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/1.164, allocations: 39.02 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/1.164, allocations: 65.92 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/1.164, allocations: 153.1 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/1.165, allocations: 48.98 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/1.165, allocations: 79.91 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/1.165, allocations: 54.86 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/1.165, allocations: 20.27 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/1.165, allocations: 24.14 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/1.165, allocations: 50.3 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.884e-05/1.165, allocations: 70.55 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/1.165, allocations: 198.2 kB / 1.344 GB, free: 14.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.165, allocations: 5.688 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/1.165, allocations: 3.938 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.165, allocations: 0 / 1.344 GB, free: 14.05 MB / 1.061 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.0007538/1.166, allocations: 0.4944 MB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.166, allocations: 10 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/1.166, allocations: 6.531 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/1.166, allocations: 40.64 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/1.166, allocations: 21.27 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/1.167, allocations: 262.4 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/1.167, allocations: 116.2 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/1.167, allocations: 8.125 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/1.167, allocations: 168.9 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.167, allocations: 0 / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/1.167, allocations: 1.125 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/1.167, allocations: 9.078 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/1.167, allocations: 44.38 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/1.169, allocations: 459.1 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.258e-05/1.169, allocations: 36.33 kB / 1.345 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/1.169, allocations: 21.16 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/1.169, allocations: 3.922 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.169, allocations: 32.69 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/1.169, allocations: 4 kB / 1.345 GB, free: 12.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0002999/1.169, allocations: 108.1 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.169, allocations: 56.72 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/1.169, allocations: 213.3 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/1.169, allocations: 27.83 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/1.17, allocations: 129.2 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/1.17, allocations: 33.22 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/1.17, allocations: 31.2 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/1.17, allocations: 327.8 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/1.17, allocations: 32.59 kB / 1.346 GB, free: 11.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/1.17, allocations: 98.14 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/1.17, allocations: 140.5 kB / 1.346 GB, free: 11.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.17, allocations: 1.938 kB / 1.346 GB, free: 11.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002627/1.17, allocations: 153.9 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.17, allocations: 7.578 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.17, allocations: 2.75 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.17, allocations: 2.75 kB / 1.346 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/1.17, allocations: 34.31 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.17, allocations: 4.828 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/1.171, allocations: 8.641 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/1.171, allocations: 6.016 kB / 1.347 GB, free: 11.57 MB / 1.061 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.0001188/1.171, allocations: 151 kB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/1.171, allocations: 15.39 kB / 1.347 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/1.171, allocations: 118.5 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.171, allocations: 5.312 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.171, allocations: 0.5156 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.171, allocations: 0.6094 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/1.171, allocations: 228.6 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.171, allocations: 5.344 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/1.171, allocations: 12.95 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.171, allocations: 1.094 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/1.171, allocations: 9.969 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.171, allocations: 5.375 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.171, allocations: 0.7969 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/1.171, allocations: 188.8 kB / 1.347 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/1.172, allocations: 89.62 kB / 1.347 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/1.172, allocations: 5.25 kB / 1.347 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/1.172, allocations: 25.98 kB / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/1.172, allocations: 8.891 kB / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/1.172, allocations: 11.02 kB / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001661/1.172, allocations: 168 kB / 1.348 GB, free: 10.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.172, allocations: 0 / 1.348 GB, free: 10.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003114/1.172, allocations: 33.12 kB / 1.348 GB, free: 10.74 MB / 1.061 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.0005628/1.173, allocations: 0.7517 MB / 1.348 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002031/1.173, allocations: 68.06 kB / 1.348 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.173, allocations: 1.906 kB / 1.348 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/1.173, allocations: 31.12 kB / 1.348 GB, free: 10.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/1.173, allocations: 19.14 kB / 1.348 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/1.175, allocations: 1.927 MB / 1.35 GB, free: 8.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/1.176, allocations: 0.7337 MB / 1.351 GB, free: 7.727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001298/1.176, allocations: 50.39 kB / 1.351 GB, free: 7.719 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/1.176, allocations: 45.5 kB / 1.351 GB, free: 7.688 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.176, allocations: 0 / 1.351 GB, free: 7.688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/1.202, allocations: 4.279 MB / 1.355 GB, free: 7.078 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.179/10.38, allocations: 13.81 kB / 1.355 GB, free: 7.07 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.105769857007544] Failed to read output from testmodel.py, exit status != 0: 10.50995795201743 10.522679697 9.354540862 Calling exit ...