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.001621/0.001621, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002323/0.002323, allocations: 216.7 kB / 22.24 MB, free: 5.258 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.82 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.189/3.189, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.002075/0.002075, allocations: 71.53 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 176.1 MB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003029/0.3673, allocations: 1.41 MB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001864/0.3675, allocations: 36.38 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.3675, allocations: 0 / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.3677, allocations: 19.91 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3678, allocations: 7.938 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.3678, allocations: 0 / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.3679, allocations: 23.92 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.3679, allocations: 7.938 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.3679, allocations: 4 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.368, allocations: 15.91 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.368, allocations: 0 / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.018e-05/0.368, allocations: 12 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.3681, allocations: 0 / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.3681, allocations: 11.94 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3682, allocations: 36.11 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3682, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3682, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3682, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 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.000333/0.3686, allocations: 254.2 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3686, allocations: 8.031 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.3687, allocations: 38.69 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.3687, allocations: 8.891 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3689, allocations: 118.4 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.3689, allocations: 384 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.3689, allocations: 384 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.369, allocations: 38.25 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.369, allocations: 3.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.369, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.369, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.369, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.3692, allocations: 124.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.3693, allocations: 22.55 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.3693, allocations: 4.859 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.3693, allocations: 64 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3693, allocations: 34.56 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3693, allocations: 0 / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.3695, allocations: 49.53 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3695, allocations: 59.52 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3696, allocations: 117.8 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3697, allocations: 25.7 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3697, allocations: 88.14 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3697, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3698, allocations: 9.719 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3699, allocations: 318.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.3699, allocations: 3.984 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-06/0.3699, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.694e-05/0.37, allocations: 8.859 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.37, allocations: 4.062 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.59e-05/0.37, allocations: 45.59 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3701, allocations: 9.812 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3701, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3701, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.3701, allocations: 7.984 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3701, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.3702, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3702, allocations: 0 / 1.329 GB, free: 14.39 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.748e-05/0.3702, allocations: 109.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.3703, allocations: 11.91 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.3704, allocations: 45.16 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3704, allocations: 3.938 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3704, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.3704, allocations: 3.984 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.3705, allocations: 128.7 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3705, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.3705, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3705, allocations: 3.938 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3705, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3705, allocations: 4.031 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3705, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.44e-05/0.3706, allocations: 69.08 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.3706, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3706, allocations: 3.938 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-06/0.3706, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.3707, allocations: 4 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3707, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.3707, allocations: 99.25 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3707, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001944/0.3709, allocations: 4 kB / 1.329 GB, free: 13.82 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.0005126/0.3714, allocations: 0.6183 MB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.3715, allocations: 11.98 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3715, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.744e-06/0.3715, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3717, allocations: 16.09 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3727, allocations: 1.101 MB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.692e-05/0.3728, allocations: 67.33 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.3729, allocations: 7.938 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3729, allocations: 7.438 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3729, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.4004, allocations: 1.921 MB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.15, allocations: 17.86 kB / 1.333 GB, free: 10.06 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 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.067543274984928] Failed to read output from testmodel.py, exit status != 0: 12.257496017002268 12.27689829 11.905118694 Calling exit ...