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 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.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.006116/0.006116, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001153/0.001153, allocations: 184.7 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.852/2.852, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 55.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2926, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002344/0.295, allocations: 1.365 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.2952, allocations: 32.36 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.2952, allocations: 7.938 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2954, allocations: 11.92 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.729e-05/0.2955, allocations: 19.92 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.387e-06/0.2955, allocations: 0 / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.2956, allocations: 15.98 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.2956, allocations: 3.938 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.2957, allocations: 7.938 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.2957, allocations: 7.984 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2957, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.2958, allocations: 12 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.2958, allocations: 7.922 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.2958, allocations: 7.938 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.555e-05/0.2959, allocations: 23.86 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.296, allocations: 4 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.296, allocations: 0 / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.296, allocations: 0 / 1.221 GB, free: 13.13 MB / 0.9825 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.0003113/0.2963, allocations: 335.4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2963, allocations: 8.031 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.2964, allocations: 38.73 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.2964, allocations: 0.9375 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2966, allocations: 176.3 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.2966, allocations: 384 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.2966, allocations: 8.375 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.831e-05/0.2967, allocations: 38.2 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.2967, allocations: 7.875 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.2967, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.2967, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.2968, allocations: 7.984 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.297, allocations: 236.9 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.017e-05/0.2971, allocations: 30.45 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.2971, allocations: 8.859 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.2971, allocations: 3.984 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2971, allocations: 30.56 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 2.305e-06/0.2971, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.2973, allocations: 41.66 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.2973, allocations: 51.41 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.2974, allocations: 118 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2974, allocations: 33.64 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2975, allocations: 88.12 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.2975, allocations: 0 / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.2975, allocations: 13.72 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.2976, allocations: 310.8 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.2976, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-06/0.2976, allocations: 4 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.2977, allocations: 24.91 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2977, allocations: 3.938 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.144e-05/0.2977, allocations: 33.66 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2978, allocations: 8 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2978, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.2978, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.353e-05/0.2978, allocations: 3.938 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.2978, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.2979, allocations: 4 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.2979, allocations: 4.031 kB / 1.223 GB, free: 11.25 MB / 0.9825 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.915e-05/0.2979, allocations: 113.8 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.298, allocations: 4 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.298, allocations: 41.22 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2981, allocations: 4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.2981, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2981, allocations: 3.984 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2982, allocations: 157.6 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2982, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.2983, allocations: 4.031 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2983, allocations: 4 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.2983, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2983, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2983, allocations: 7.875 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.317e-05/0.2984, allocations: 139.4 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.2984, allocations: 77.11 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2984, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.2985, allocations: 7.969 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.2985, allocations: 4 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.2985, allocations: 0 / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.2986, allocations: 91.27 kB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2986, allocations: 0 / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002292/0.2988, allocations: 4 kB / 1.223 GB, free: 10.5 MB / 0.9825 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.0004273/0.2992, allocations: 0.6946 MB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.2993, allocations: 11.98 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2993, allocations: 0 / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.2993, allocations: 0 / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.2995, allocations: 8.156 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.3004, allocations: 1.185 MB / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.3007, allocations: 0.6845 MB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.297e-05/0.3007, allocations: 3.984 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.3008, allocations: 11.44 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3008, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.3176, allocations: 1.371 MB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.095, allocations: 2.031 kB / 1.227 GB, free: 6.477 MB / 0.9825 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 50 --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)