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.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006875/0.006875, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.00126/0.00126, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 60.12 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.6324, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002744/0.6351, allocations: 1.346 MB / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.6353, allocations: 39.81 kB / 1.222 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.6354, allocations: 4 kB / 1.222 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.6355, allocations: 11.92 kB / 1.222 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.6356, allocations: 11.94 kB / 1.222 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.076e-06/0.6357, allocations: 3.938 kB / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.6357, allocations: 23.91 kB / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.6358, allocations: 4 kB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.6358, allocations: 4 kB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.6359, allocations: 15.92 kB / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.6359, allocations: 0 / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.6359, allocations: 8 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.636, allocations: 3.938 kB / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.636, allocations: 15.92 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.6361, allocations: 19.64 kB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6361, allocations: 3.938 kB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6361, allocations: 0 / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.6361, allocations: 0 / 1.222 GB, free: 0.5352 MB / 0.9356 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.0003745/0.6365, allocations: 335.5 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6366, allocations: 11.97 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.6366, allocations: 34.75 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.6366, allocations: 8.922 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.6369, allocations: 180.3 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.6369, allocations: 4.359 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.6369, allocations: 8.312 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.637, allocations: 34.25 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.637, allocations: 3.938 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.637, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.637, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.6371, allocations: 4 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.6374, allocations: 245 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/0.6375, allocations: 22.45 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.6375, allocations: 8.922 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.6375, allocations: 0 / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.6376, allocations: 34.55 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6376, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.6377, allocations: 41.66 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.6378, allocations: 59.47 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.6379, allocations: 109.8 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.6379, allocations: 25.7 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.6379, allocations: 92.08 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.638, allocations: 3.984 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.638, allocations: 9.719 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6381, allocations: 318.8 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.6381, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.6382, allocations: 8 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.6382, allocations: 4.859 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.6382, allocations: 7.938 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.38e-05/0.6383, allocations: 45.58 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6383, allocations: 8 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6383, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.6383, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.15e-05/0.6384, allocations: 0 / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.6384, allocations: 4.094 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.6384, allocations: 4 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.6384, allocations: 0 / 1.223 GB, free: 14.66 MB / 0.9512 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 8.626e-05/0.6385, allocations: 114.3 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.6385, allocations: 4 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.6386, allocations: 37.55 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.6386, allocations: 0 / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6386, allocations: 7.984 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6386, allocations: 3.938 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.6388, allocations: 157.6 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6388, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.6388, allocations: 3.938 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.6389, allocations: 4 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.6389, allocations: 4 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6389, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6389, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.639, allocations: 143.4 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.639, allocations: 77.11 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.6391, allocations: 0 / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.6391, allocations: 3.984 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.6391, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.6391, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.439e-05/0.6392, allocations: 99.25 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6392, allocations: 3.938 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002269/0.6394, allocations: 4 kB / 1.224 GB, free: 13.89 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 (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.0005181/0.64, allocations: 0.6879 MB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.262e-05/0.64, allocations: 11.98 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6401, allocations: 4.094 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.6401, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.6403, allocations: 9.875 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6413, allocations: 1.175 MB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.6416, allocations: 0.6807 MB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.112e-05/0.6417, allocations: 3.984 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.6417, allocations: 15.44 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.6418, allocations: 0 / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.6624, allocations: 1.377 MB / 1.228 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/8.278, allocations: 8.531 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB (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)