Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00143/0.00143, allocations: 117.5 kB / 17.16 MB, free: 5.863 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.001527/0.001527, allocations: 209.5 kB / 20.13 MB, free: 2.922 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.06 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.127/3.127, allocations: 0.5003 GB / 0.8026 GB, free: 6.66 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.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.00209/0.00209, allocations: 63.89 kB / 1.165 GB, free: 444 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.9944, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002497/0.9969, allocations: 1.397 MB / 1.341 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001678/0.9971, allocations: 45.22 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.9972, allocations: 5.219 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.9974, allocations: 19.95 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.9975, allocations: 13.8 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.9975, allocations: 0 / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.9976, allocations: 16.45 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.9976, allocations: 3.234 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.9977, allocations: 8.828 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.9977, allocations: 17.67 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.9977, allocations: 1.094 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.9978, allocations: 12.09 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.9978, allocations: 5.859 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.9979, allocations: 10.16 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.998, allocations: 32.03 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.998, allocations: 0 / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.495e-06/0.998, allocations: 0.6094 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.998, allocations: 0 / 1.342 GB, free: 15.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003294/0.9983, allocations: 340.5 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9984, allocations: 9.25 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.712e-05/0.9984, allocations: 192 / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.059e-05/0.9984, allocations: 36.48 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.9984, allocations: 2.188 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.9986, allocations: 177.2 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.9986, allocations: 384 / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.9986, allocations: 1.5 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.9987, allocations: 42.83 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9987, allocations: 0 / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.9987, allocations: 0 / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.9987, allocations: 1.703 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.9987, allocations: 2.031 kB / 1.342 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.9988, allocations: 158.9 kB / 1.342 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.9989, allocations: 24.78 kB / 1.342 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.9989, allocations: 6.359 kB / 1.342 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.9989, allocations: 1.953 kB / 1.342 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.9989, allocations: 39.69 kB / 1.342 GB, free: 14.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.9989, allocations: 0 / 1.342 GB, free: 14.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.9991, allocations: 43.66 kB / 1.342 GB, free: 14.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.9991, allocations: 51.41 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.9992, allocations: 116 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/0.9992, allocations: 25.7 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.9992, allocations: 82.33 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.9992, allocations: 12.62 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.9993, allocations: 17.28 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.9993, allocations: 313.6 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.9993, allocations: 5.188 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.9993, allocations: 2.109 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.9994, allocations: 17.47 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9994, allocations: 0 / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.347e-05/0.9994, allocations: 35.89 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9994, allocations: 10.34 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9994, allocations: 2.234 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.9995, allocations: 0 / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.9995, allocations: 6.047 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.9995, allocations: 0 / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.9995, allocations: 5.641 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.9995, allocations: 0 / 1.343 GB, free: 13.48 MB / 1.061 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 4.842e-05/0.9996, allocations: 115 kB / 1.343 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.9996, allocations: 10.08 kB / 1.343 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.9997, allocations: 47.14 kB / 1.343 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.9997, allocations: 0 / 1.343 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.9997, allocations: 5.094 kB / 1.343 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.9997, allocations: 4.594 kB / 1.343 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.619e-05/0.9997, allocations: 151.2 kB / 1.343 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.9997, allocations: 0 / 1.343 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.9998, allocations: 6.766 kB / 1.343 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.9998, allocations: 4.547 kB / 1.343 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.9998, allocations: 0.9688 kB / 1.343 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.9998, allocations: 0 / 1.343 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9998, allocations: 1.797 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.673e-05/0.9998, allocations: 63.41 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.9998, allocations: 86.73 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.9999, allocations: 1.875 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.012e-05/0.9999, allocations: 0 / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.9999, allocations: 0.6562 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.9999, allocations: 1.031 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.9999, allocations: 90.72 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9999, allocations: 1 kB / 1.344 GB, free: 12.85 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002034/1, allocations: 4.078 kB / 1.344 GB, free: 12.85 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 (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.0003402/1, allocations: 0.6155 MB / 1.344 GB, free: 12.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.508e-05/1.001, allocations: 17.56 kB / 1.344 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.001, allocations: 1 kB / 1.344 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/1.001, allocations: 2.875 kB / 1.344 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/1.001, allocations: 5.188 kB / 1.344 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/1.001, allocations: 1.113 MB / 1.345 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/1.002, allocations: 0.6783 MB / 1.346 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.715e-05/1.002, allocations: 4.406 kB / 1.346 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/1.002, allocations: 13.41 kB / 1.346 GB, free: 10.41 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.002, allocations: 4.031 kB / 1.346 GB, free: 10.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/1.02, allocations: 1.445 MB / 1.348 GB, free: 9.992 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.797, allocations: 15.02 kB / 1.348 GB, free: 9.988 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.65727564698318] Failed to read output from testmodel.py, exit status != 0: 9.925240101991221 9.94110379 8.939108962 Calling exit ...