Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009282/0.0009282, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008569/0.0008569, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8708/0.8708, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.734/1.734, allocations: 389 MB / 0.633 GB, free: 12.7 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.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.462e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.001641/0.001656, allocations: 1.362 MB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.001767, allocations: 43.7 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.001814, allocations: 3.938 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.001967, allocations: 11.94 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.002071, allocations: 11.97 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.002075, allocations: 0 / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.002137, allocations: 19.88 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.002176, allocations: 3.984 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.002218, allocations: 7.938 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.002268, allocations: 7.984 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.002289, allocations: 0 / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.002332, allocations: 15.94 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.002371, allocations: 7.938 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.002386, allocations: 0 / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.22e-05/0.002478, allocations: 31.91 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00248, allocations: 0 / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002481, allocations: 0 / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.002485, allocations: 0 / 1.001 GB, free: 11.97 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.0002505/0.002735, allocations: 258.2 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.002771, allocations: 8.75 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.002823, allocations: 34.75 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.002844, allocations: 4.891 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.002985, allocations: 117.7 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.002993, allocations: 4.375 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.002999, allocations: 4.375 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.003087, allocations: 38.25 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003093, allocations: 192 / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.0031, allocations: 384 / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.003116, allocations: 8.062 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.003134, allocations: 4 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.00336, allocations: 208 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.003398, allocations: 22.59 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.003412, allocations: 8.859 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.003429, allocations: 4.062 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.003448, allocations: 42.44 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.003449, allocations: 0 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.003568, allocations: 33.7 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.003595, allocations: 51.41 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.00366, allocations: 117.8 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.003668, allocations: 25.7 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.003698, allocations: 88.06 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.003708, allocations: 7.953 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.003729, allocations: 13.72 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.003796, allocations: 318.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.003803, allocations: 8.125 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.003809, allocations: 3.938 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.854e-05/0.003828, allocations: 16.84 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.003829, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.248e-05/0.003861, allocations: 37.64 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.003872, allocations: 7.938 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.003876, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.003886, allocations: 4 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.003928, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.003932, allocations: 4.094 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.003941, allocations: 3.984 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.003946, allocations: 0 / 1.003 GB, free: 10.29 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 4.479e-05/0.003991, allocations: 109.8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.004004, allocations: 7.891 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.004064, allocations: 49.09 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004065, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.004069, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.004072, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.88e-05/0.004171, allocations: 124.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004172, allocations: 4.031 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.004179, allocations: 0 / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.004181, allocations: 3.938 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.004186, allocations: 4 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004187, allocations: 0 / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004187, allocations: 0 / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.538e-05/0.004243, allocations: 131.5 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.00425, allocations: 11.88 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.00426, allocations: 8 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.004282, allocations: 0 / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.004292, allocations: 4.031 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.004294, allocations: 0 / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.004325, allocations: 91.27 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004325, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001521/0.004477, allocations: 4 kB / 1.003 GB, free: 9.668 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.0003065/0.004784, allocations: 0.6878 MB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.131e-05/0.004835, allocations: 15.97 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.004837, allocations: 0 / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.004842, allocations: 3.984 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.004986, allocations: 9.969 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.005639, allocations: 1.167 MB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.005682, allocations: 63.34 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.005709, allocations: 8.578 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.005737, allocations: 16.64 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.005738, allocations: 4 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.01946, allocations: 2.02 MB / 1.007 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.776, allocations: 6.391 kB / 1.007 GB, free: 5.676 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.824681353755295] Failed to read output from testmodel.py, exit status != 0: 6.85749374050647 6.86607154 6.861952286 Calling exit ...