Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001378/0.001378, 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.001511/0.001511, allocations: 214.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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.844/2.844, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_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.002199/0.002199, allocations: 69.33 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3383, allocations: 170 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002794/0.3411, allocations: 1.374 MB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.3412, allocations: 43.83 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.3413, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.3414, allocations: 3.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3415, allocations: 23.86 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.3415, allocations: 0 / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.3416, allocations: 19.86 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.3416, allocations: 3.984 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.3417, allocations: 11.94 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.3417, allocations: 7.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.3417, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.3418, allocations: 15.98 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.3418, allocations: 0 / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.3419, allocations: 11.94 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.342, allocations: 19.91 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.342, allocations: 0 / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.717e-06/0.342, allocations: 4 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.342, allocations: 0 / 1.284 GB, free: 10.83 MB / 0.9825 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.0003724/0.3423, allocations: 265.5 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3424, allocations: 8.031 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.3424, allocations: 30.75 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.3425, allocations: 8.891 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3426, allocations: 122.5 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3426, allocations: 384 / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.3427, allocations: 4.359 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.3428, allocations: 42.19 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3428, allocations: 3.938 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3428, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3428, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.3428, allocations: 8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.3431, allocations: 212 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.3432, allocations: 22.52 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.3432, allocations: 16.78 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3432, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3432, allocations: 34.62 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.3432, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.3434, allocations: 33.7 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3434, allocations: 55.41 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3435, allocations: 109.8 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3435, allocations: 25.7 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.3436, allocations: 88.12 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.3436, allocations: 7.953 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3436, allocations: 13.84 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3438, allocations: 318.8 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.3438, allocations: 4 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.3438, allocations: 0 / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.3438, allocations: 12.84 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3438, allocations: 3.938 kB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.314e-05/0.3439, allocations: 41.64 kB / 1.285 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3439, allocations: 6.344 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3439, allocations: 0 / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3439, allocations: 4.094 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.583e-05/0.344, allocations: 7.938 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.344, allocations: 0 / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.344, allocations: 3.938 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.344, allocations: 3.984 kB / 1.286 GB, free: 9.152 MB / 0.9825 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 9.298e-05/0.3441, allocations: 113.8 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.3441, allocations: 7.953 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.3442, allocations: 41.16 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3442, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3442, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3442, allocations: 8.031 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3444, allocations: 128.7 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3444, allocations: 0 / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.3444, allocations: 0 / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3444, allocations: 0 / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3444, allocations: 4 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3444, allocations: 0 / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3444, allocations: 0 / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.3445, allocations: 135.4 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.3446, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3446, allocations: 8 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.3446, allocations: 4.031 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.3446, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3446, allocations: 4 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.541e-05/0.3447, allocations: 91.27 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3447, allocations: 0 / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000225/0.3449, allocations: 11.89 kB / 1.286 GB, free: 8.531 MB / 0.9825 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.0005657/0.3455, allocations: 0.6903 MB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.3455, allocations: 4 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3455, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.3456, allocations: 11.98 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.3458, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3469, allocations: 1.188 MB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.347, allocations: 59.5 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.531e-05/0.347, allocations: 15.92 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3471, allocations: 15.44 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3471, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3764, allocations: 1.881 MB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 10.09 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.533705258276314] Failed to read output from testmodel.py, exit status != 0: 12.502877426799387 11.956251721 11.610944939 Calling exit ...