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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2795, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002389/0.282, allocations: 1.356 MB / 1.243 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001347/0.2821, allocations: 36.36 kB / 1.243 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2822, allocations: 3.938 kB / 1.243 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2823, allocations: 19.91 kB / 1.243 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.2824, allocations: 11.94 kB / 1.243 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.2824, allocations: 4 kB / 1.243 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.2825, allocations: 7.984 kB / 1.243 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.2825, allocations: 4 kB / 1.243 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.2826, allocations: 15.88 kB / 1.243 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.2826, allocations: 3.984 kB / 1.243 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.2826, allocations: 4 kB / 1.243 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.257e-05/0.2827, allocations: 11.98 kB / 1.243 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.2827, allocations: 7.938 kB / 1.243 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.2828, allocations: 3.938 kB / 1.243 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.049e-05/0.2828, allocations: 27.86 kB / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2829, allocations: 0 / 1.243 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2829, allocations: 4 kB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2829, allocations: 0 / 1.243 GB, free: 8.707 MB / 0.9981 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.000345/0.2832, allocations: 335.3 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.2833, allocations: 8.031 kB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.2833, allocations: 34.75 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.2833, allocations: 4.938 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.2835, allocations: 172.3 kB / 1.243 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-06/0.2835, allocations: 384 / 1.243 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.2836, allocations: 384 / 1.243 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.2836, allocations: 46.19 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2837, allocations: 3.938 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.2837, allocations: 0 / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2837, allocations: 0 / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.2837, allocations: 8 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.284, allocations: 240.9 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.223e-05/0.284, allocations: 22.45 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.2841, allocations: 12.92 kB / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.2841, allocations: 4 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2841, allocations: 38.55 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 3.126e-06/0.2841, allocations: 0 / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.2843, allocations: 41.59 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2843, allocations: 51.41 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2844, allocations: 113.8 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2844, allocations: 33.77 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.2845, allocations: 84.14 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.2845, allocations: 4 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.2845, allocations: 17.64 kB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2847, allocations: 314.8 kB / 1.244 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-06/0.2847, allocations: 0 / 1.244 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-06/0.2847, allocations: 0 / 1.244 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.2847, allocations: 16.92 kB / 1.244 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2847, allocations: 3.938 kB / 1.244 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.142e-05/0.2848, allocations: 41.64 kB / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2848, allocations: 4 kB / 1.245 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2848, allocations: 4 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2848, allocations: 0 / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.2849, allocations: 0 / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2849, allocations: 3.938 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.2849, allocations: 0 / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2849, allocations: 4 kB / 1.245 GB, free: 6.836 MB / 0.9981 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.477e-05/0.285, allocations: 117.8 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.285, allocations: 7.984 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.846e-05/0.2851, allocations: 37.23 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2851, allocations: 0 / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2852, allocations: 0 / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2852, allocations: 4 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.2853, allocations: 161.6 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2853, allocations: 0 / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.2853, allocations: 0 / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2854, allocations: 4.031 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.2854, allocations: 0 / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2854, allocations: 4 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2854, allocations: 0 / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.2855, allocations: 143.4 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.2855, allocations: 77.11 kB / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2856, allocations: 0 / 1.245 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.2856, allocations: 7.969 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.2856, allocations: 0 / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.2856, allocations: 4 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.005e-05/0.2857, allocations: 91.27 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2857, allocations: 0 / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002217/0.2859, allocations: 4 kB / 1.245 GB, free: 6.082 MB / 0.9981 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.0005047/0.2864, allocations: 0.7001 MB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.285e-05/0.2865, allocations: 8 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2865, allocations: 0 / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.2865, allocations: 7.984 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.2867, allocations: 1.562 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.2877, allocations: 1.179 MB / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.2881, allocations: 0.6768 MB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.2881, allocations: 12.05 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.2881, allocations: 15.38 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2882, allocations: 0 / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.3086, allocations: 1.364 MB / 1.249 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.825, allocations: 6.219 kB / 1.249 GB, free: 2.066 MB / 0.9981 GB (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 400 --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)