Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00189/0.00189, allocations: 107.9 kB / 16.45 MB, free: 6.5 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.002325/0.002325, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.569/1.569, 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 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.182/3.182, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_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.002013/0.002013, allocations: 69.48 kB / 1.149 GB, free: 26.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 176.1 MB / 1.321 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002843/0.3371, allocations: 1.376 MB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.3373, allocations: 39.89 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.3373, allocations: 7.938 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3375, allocations: 11.92 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3376, allocations: 15.92 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.107e-06/0.3376, allocations: 0 / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.3377, allocations: 15.92 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.3378, allocations: 0 / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.3378, allocations: 11.94 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.3379, allocations: 11.92 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3379, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.3379, allocations: 15.98 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.338, allocations: 0 / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.338, allocations: 11.88 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3381, allocations: 32.14 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3381, allocations: 0 / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3381, allocations: 0 / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3381, allocations: 0 / 1.322 GB, free: 1.695 MB / 1.014 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.0004637/0.3386, allocations: 335.3 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3386, allocations: 11.98 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.632e-05/0.3387, allocations: 38.7 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.3388, allocations: 4.922 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.339, allocations: 172.3 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.339, allocations: 4.375 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3391, allocations: 8.312 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3392, allocations: 34.25 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3392, allocations: 3.938 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3392, allocations: 3.938 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.3392, allocations: 0 / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.3392, allocations: 8 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.3396, allocations: 245 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.3396, allocations: 22.45 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.3396, allocations: 8.922 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3397, allocations: 0 / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3397, allocations: 38.55 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.3397, allocations: 0 / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.3398, allocations: 33.7 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3399, allocations: 59.47 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.34, allocations: 113.8 kB / 1.323 GB, free: 380 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.34, allocations: 25.7 kB / 1.323 GB, free: 348 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.3401, allocations: 84.14 kB / 1.323 GB, free: 260 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3401, allocations: 7.938 kB / 1.323 GB, free: 252 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3401, allocations: 17.72 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3403, allocations: 310.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.3403, allocations: 0 / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.3403, allocations: 8 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.3403, allocations: 8.859 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3403, allocations: 7.938 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.153e-05/0.3404, allocations: 33.69 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3404, allocations: 13.81 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3404, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3404, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.3405, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3405, allocations: 96 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.3405, allocations: 8 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3405, allocations: 3.938 kB / 1.324 GB, free: 15.82 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 9.082e-05/0.3406, allocations: 113.8 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3406, allocations: 7.953 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.3407, allocations: 37.23 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-06/0.3407, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3407, allocations: 4 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3407, allocations: 3.984 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.3409, allocations: 161.6 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3409, allocations: 3.938 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.3409, allocations: 0 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3409, allocations: 7.938 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3409, allocations: 0 / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.341, allocations: 0 / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.341, allocations: 320 / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.3411, allocations: 135.5 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.3411, allocations: 85.09 kB / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3411, allocations: 0 / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.3412, allocations: 0 / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.3412, allocations: 4 kB / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3412, allocations: 0 / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.3413, allocations: 95.25 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3413, allocations: 0 / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002282/0.3415, allocations: 7.938 kB / 1.325 GB, free: 15.05 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.0006993/0.3422, allocations: 0.6813 MB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.074e-05/0.3423, allocations: 15.98 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3423, allocations: 4.094 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.3423, allocations: 0 / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.3425, allocations: 4 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3438, allocations: 1.171 MB / 1.326 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3442, allocations: 0.6807 MB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.3442, allocations: 7.984 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.3443, allocations: 11.44 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3443, allocations: 3.938 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.373, allocations: 1.401 MB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/8.874, allocations: 9.188 kB / 1.328 GB, free: 11.01 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.606081601930782] Failed to read output from testmodel.py, exit status != 0: 8.941394136985764 8.956681336 8.615653068 Calling exit ...