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.000805/0.000805, 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.0008696/0.0008696, allocations: 169.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.9275/0.9275, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.192e-05, allocations: 10.16 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.001836/0.001858, allocations: 1.358 MB / 0.9518 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001189/0.001977, allocations: 43.77 kB / 0.9519 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.002015, allocations: 0 / 0.9519 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.002174, allocations: 7.938 kB / 0.9519 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.002313, allocations: 19.86 kB / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-06/0.002318, allocations: 0 / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.002384, allocations: 19.91 kB / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.002424, allocations: 0 / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.002467, allocations: 8 kB / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.002517, allocations: 11.92 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.002538, allocations: 0 / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.002582, allocations: 11.94 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.002621, allocations: 8 kB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.002637, allocations: 7.938 kB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.002722, allocations: 19.91 kB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.002725, allocations: 7.922 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.502e-06/0.002726, allocations: 4 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.00273, allocations: 0 / 0.952 GB, free: 1.961 MB / 0.9011 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.0002581/0.002988, allocations: 262.2 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.003027, allocations: 8.031 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.003076, allocations: 30.75 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.096e-05/0.003097, allocations: 4.938 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.003224, allocations: 121.7 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.003233, allocations: 4.359 kB / 0.9524 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.00324, allocations: 4.359 kB / 0.9524 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.003323, allocations: 34.27 kB / 0.9524 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003331, allocations: 4.188 kB / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.003338, allocations: 384 / 0.9524 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.003353, allocations: 4.125 kB / 0.9524 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.003371, allocations: 7.984 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.003592, allocations: 212 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.629e-05/0.003628, allocations: 18.58 kB / 0.9527 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.003641, allocations: 8.859 kB / 0.9527 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.003656, allocations: 0 / 0.9527 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.003677, allocations: 38.56 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.02e-07/0.003678, allocations: 0 / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.003799, allocations: 45.58 kB / 0.9528 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.003828, allocations: 55.41 kB / 0.9528 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.003903, allocations: 117.8 kB / 0.9529 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-06/0.003911, allocations: 25.7 kB / 0.9529 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.003943, allocations: 84.14 kB / 0.953 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.003954, allocations: 4 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.003974, allocations: 13.84 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.004054, allocations: 322.8 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.004064, allocations: 4 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.004069, allocations: 0 / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.004088, allocations: 8.859 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004089, allocations: 0 / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.322e-05/0.004133, allocations: 53.52 kB / 0.9534 GB, free: 304 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.004144, allocations: 4 kB / 0.9534 GB, free: 300 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004148, allocations: 0 / 0.9534 GB, free: 300 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.00416, allocations: 4.094 kB / 0.9534 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.004205, allocations: 4 kB / 0.9534 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.004209, allocations: 0 / 0.9534 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.004225, allocations: 0 / 0.9534 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.00423, allocations: 0 / 0.9534 GB, free: 292 kB / 0.9011 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 5.178e-05/0.004282, allocations: 113.8 kB / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.004296, allocations: 7.875 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.004365, allocations: 49.41 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.004367, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.004371, allocations: 0 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.004373, allocations: 32 / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.004478, allocations: 132.8 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004479, allocations: 0 / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.004489, allocations: 0 / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.004492, allocations: 3.938 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.004498, allocations: 4 kB / 0.9537 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.004502, allocations: 7.969 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.004503, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.171e-05/0.004565, allocations: 127.5 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.004572, allocations: 3.938 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.004581, allocations: 4 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.004606, allocations: 8.031 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.004617, allocations: 3.984 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.00462, allocations: 0 / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.004658, allocations: 95.22 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004658, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001571/0.004815, allocations: 4 kB / 0.954 GB, free: 15.65 MB / 0.9167 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.0003558/0.005171, allocations: 0.6875 MB / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.005228, allocations: 4 kB / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.005229, allocations: 0 / 0.9546 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-06/0.005235, allocations: 7.938 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.005389, allocations: 2.656 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.006091, allocations: 1.187 MB / 0.9558 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.006135, allocations: 63.5 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.071e-05/0.006196, allocations: 8 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.006226, allocations: 12.5 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.006226, allocations: 0 / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.02439, allocations: 2.039 MB / 0.9579 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/7.175, allocations: 13.97 kB / 0.9579 GB, free: 11.64 MB / 0.9167 GB " [Timeout remaining time 293] (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: 11.244941021315753] Failed to read output from testmodel.py, exit status != 0: 7.261449398472905 7.270802754 7.2664081419999995 Calling exit ...