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.001586/0.001586, allocations: 107.2 kB / 16.46 MB, free: 6.453 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.001738/0.001738, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.59/1.59, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.944/2.944, allocations: 476.7 MB / 0.7672 GB, free: 5.172 MB / 0.6231 GB " [Timeout remaining time 176] 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.002031/0.002031, allocations: 64.08 kB / 1.112 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.753, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002729/0.7557, allocations: 1.388 MB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.7559, allocations: 35.83 kB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.7559, allocations: 0 / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.7561, allocations: 7.922 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.7562, allocations: 19.92 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.307e-06/0.7562, allocations: 0 / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.7563, allocations: 15.92 kB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.7563, allocations: 0 / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.7563, allocations: 7.938 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.7564, allocations: 23.91 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.7564, allocations: 0 / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.7565, allocations: 8 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.7565, allocations: 7.938 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.7565, allocations: 7.938 kB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.7566, allocations: 23.7 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.7566, allocations: 4 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7566, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.7566, allocations: 0 / 1.28 GB, free: 11.82 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.0003621/0.757, allocations: 337.4 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.757, allocations: 12.03 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.7571, allocations: 30.75 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.7571, allocations: 4.891 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.7573, allocations: 180.3 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.7574, allocations: 384 / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.7574, allocations: 384 / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.183e-05/0.7575, allocations: 34.25 kB / 1.28 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7575, allocations: 7.875 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.7575, allocations: 0 / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.7575, allocations: 8 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.7575, allocations: 0 / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.7578, allocations: 248.8 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.7578, allocations: 22.52 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.7579, allocations: 8.797 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.7579, allocations: 3.938 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.7579, allocations: 46.59 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7579, allocations: 0 / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.758, allocations: 33.7 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.7581, allocations: 55.41 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.7582, allocations: 113.8 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.7582, allocations: 25.7 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.7583, allocations: 84.14 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.7583, allocations: 7.938 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.7583, allocations: 21.84 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7584, allocations: 310.8 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.7584, allocations: 7.938 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.7585, allocations: 0 / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.7585, allocations: 8.859 kB / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7585, allocations: 3.938 kB / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.18e-05/0.7586, allocations: 41.69 kB / 1.281 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7586, allocations: 8.094 kB / 1.281 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7586, allocations: 0 / 1.281 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.7586, allocations: 0 / 1.281 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.7586, allocations: 4 kB / 1.281 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.7586, allocations: 0 / 1.281 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.7586, allocations: 0 / 1.281 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.7587, allocations: 0 / 1.281 GB, free: 9.949 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 8.826e-05/0.7587, allocations: 122.2 kB / 1.281 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.7588, allocations: 3.953 kB / 1.281 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.149e-05/0.7589, allocations: 45.23 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7589, allocations: 4 kB / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.7589, allocations: 0 / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7589, allocations: 3.984 kB / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.759, allocations: 157.6 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.759, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.7591, allocations: 4 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.7591, allocations: 0 / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.7591, allocations: 3.938 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7591, allocations: 0 / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7591, allocations: 0 / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.7592, allocations: 139.5 kB / 1.282 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.7592, allocations: 85.06 kB / 1.282 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.7592, allocations: 4 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.7593, allocations: 0 / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.7593, allocations: 0 / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.7593, allocations: 3.938 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.7593, allocations: 91.3 kB / 1.282 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7593, allocations: 4 kB / 1.282 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002199/0.7596, allocations: 4 kB / 1.282 GB, free: 9.18 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.0005476/0.7601, allocations: 0.6876 MB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.647e-05/0.7602, allocations: 7.984 kB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7602, allocations: 0 / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.7602, allocations: 8 kB / 1.283 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.7604, allocations: 0 / 1.283 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.7615, allocations: 1.179 MB / 1.284 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.7618, allocations: 0.6768 MB / 1.284 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.82e-05/0.7619, allocations: 15.97 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.7619, allocations: 11.44 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.7619, allocations: 0 / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.7864, allocations: 1.404 MB / 1.286 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.165/8.952, allocations: 9.562 kB / 1.286 GB, free: 5.125 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.272952861851081] Failed to read output from testmodel.py, exit status != 0: 9.023900097003207 9.052359554 8.290564198 Calling exit ...