Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00984/0.00984, allocations: 98.16 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 196.1 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.607/2.607, allocations: 469.4 MB / 0.7421 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.83 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8492, allocations: 159.1 MB / 1.22 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003515/0.8528, allocations: 1.49 MB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.855, allocations: 1.106 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.8551, allocations: 4 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.8553, allocations: 19.86 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.8556, allocations: 47.77 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.8558, allocations: 55.23 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.856, allocations: 147.6 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.8562, allocations: 65.03 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.8564, allocations: 91.69 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.8566, allocations: 47.72 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.8566, allocations: 12 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.8568, allocations: 31.98 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.8569, allocations: 39.89 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.857, allocations: 79.58 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.8574, allocations: 206.8 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8574, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8574, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.8574, allocations: 4 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008728/0.8583, allocations: 498.5 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.8584, allocations: 12.62 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.304e-05/0.8584, allocations: 34.75 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/0.8585, allocations: 28.8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.8589, allocations: 252 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.8591, allocations: 123.3 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.8591, allocations: 8.312 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.8595, allocations: 157.5 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.8595, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.8596, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.8596, allocations: 15.98 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.8597, allocations: 47.91 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.8608, allocations: 456.4 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.8609, allocations: 38.56 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.861, allocations: 20.8 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.861, allocations: 16.11 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.8611, allocations: 38.5 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.8611, allocations: 0 / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0002931/0.8614, allocations: 97.58 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.8614, allocations: 59.34 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.8617, allocations: 223.7 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.8617, allocations: 29.7 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.8618, allocations: 120.2 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.8618, allocations: 31.73 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.8619, allocations: 25.72 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.862, allocations: 330.8 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.8621, allocations: 23.98 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.8622, allocations: 102.2 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.8624, allocations: 146.2 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8624, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002497/0.8626, allocations: 153.3 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8626, allocations: 5.719 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8627, allocations: 4 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8627, allocations: 4.375 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.8628, allocations: 31.92 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.8628, allocations: 3.938 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.8629, allocations: 11.95 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.8629, allocations: 11.94 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001414/0.8631, allocations: 149.7 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.8631, allocations: 15.91 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.8634, allocations: 123.1 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.8634, allocations: 4 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8634, allocations: 7.938 kB / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8634, allocations: 0 / 1.226 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.8637, allocations: 229.5 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8637, allocations: 0 / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.8638, allocations: 16 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8638, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.8638, allocations: 3.984 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8638, allocations: 4 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8638, allocations: 3.938 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.864, allocations: 191.8 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.8641, allocations: 85.06 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.8641, allocations: 4 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.8644, allocations: 23.91 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.8644, allocations: 7.938 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.8644, allocations: 7.984 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000159/0.8646, allocations: 165.5 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8646, allocations: 0 / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000315/0.8649, allocations: 35.95 kB / 1.227 GB, free: 10.25 MB / 0.9512 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 (8): * Single equations (assignments): 8 * 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.0006834/0.8656, allocations: 0.753 MB / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.8658, allocations: 71.83 kB / 1.228 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8658, allocations: 0 / 1.228 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/0.8659, allocations: 27.92 kB / 1.228 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.8662, allocations: 27.88 kB / 1.228 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.8684, allocations: 1.917 MB / 1.23 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.8688, allocations: 0.7353 MB / 1.231 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.8689, allocations: 52.88 kB / 1.231 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.869, allocations: 55.36 kB / 1.231 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.869, allocations: 0 / 1.231 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.8917, allocations: 4.227 MB / 1.235 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.952, allocations: 9.938 kB / 1.235 GB, free: 2.316 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)