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.0008547/0.0008547, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008404/0.0008404, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8775/0.8775, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.831/1.831, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.321e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002499/0.002522, allocations: 1.396 MB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.00267, allocations: 35.83 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.002722, allocations: 3.938 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.002897, allocations: 11.88 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.003034, allocations: 19.91 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.34e-06/0.00304, allocations: 0 / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.003127, allocations: 11.94 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.003179, allocations: 11.98 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.00323, allocations: 11.94 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.003285, allocations: 7.984 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.003311, allocations: 0 / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.003365, allocations: 12 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.003411, allocations: 3.938 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.003431, allocations: 4 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003556, allocations: 31.89 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003558, allocations: 3.938 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003559, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.003565, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 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.0003301/0.003895, allocations: 262.2 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.003943, allocations: 8.75 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.003981, allocations: 30.75 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.004009, allocations: 8.891 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.004204, allocations: 117.8 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.004217, allocations: 8.297 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.004226, allocations: 384 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.004339, allocations: 30.27 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.004349, allocations: 192 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.004357, allocations: 384 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.004382, allocations: 12.12 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.004411, allocations: 3.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.004584, allocations: 120.8 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.004636, allocations: 26.55 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.004657, allocations: 8.844 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.004685, allocations: 8.062 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.004711, allocations: 30.56 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.004712, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.004872, allocations: 37.66 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.004915, allocations: 59.47 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.005034, allocations: 113.8 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.005049, allocations: 25.7 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.005098, allocations: 100 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.00512, allocations: 0 / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.00515, allocations: 9.719 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.005252, allocations: 314.8 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.005265, allocations: 7.938 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.005272, allocations: 0 / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.005298, allocations: 12.86 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.0053, allocations: 8.062 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.477e-05/0.005365, allocations: 41.64 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.00538, allocations: 8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.005385, allocations: 0 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.005399, allocations: 0 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.005457, allocations: 7.875 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005462, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.005477, allocations: 4 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005483, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 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 7.092e-05/0.005554, allocations: 109.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.005562, allocations: 8.031 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.005643, allocations: 41.17 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005645, allocations: 0 / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.00565, allocations: 3.938 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.005659, allocations: 7.969 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.753e-05/0.005727, allocations: 120.8 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.005728, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.005748, allocations: 7.984 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005749, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.005757, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.005759, allocations: 4.031 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.005761, allocations: 3.938 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.307e-05/0.005834, allocations: 61.81 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.005843, allocations: 8 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.005857, allocations: 3.984 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-06/0.005866, allocations: 0 / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.00588, allocations: 3.938 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005883, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.005934, allocations: 91.27 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.005934, allocations: 3.938 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002326/0.006167, allocations: 4 kB / 1.003 GB, free: 9.809 MB / 0.9636 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.0004814/0.006648, allocations: 0.6188 MB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.377e-05/0.006712, allocations: 8 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.006714, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.006718, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.006844, allocations: 19.73 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.007712, allocations: 1.098 MB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.007762, allocations: 63.34 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.0078, allocations: 3.984 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.007836, allocations: 16.5 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.007836, allocations: 3.938 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.02247, allocations: 2.034 MB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.137, allocations: 10.44 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 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: 11.393854145891964] Failed to read output from testmodel.py, exit status != 0: 7.221351148560643 7.236019813 7.229595676 Calling exit ...