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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001308/0.001308, allocations: 108 kB / 15.61 MB, free: 152 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: 195.2 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 69.25 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2569, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002648/0.2596, allocations: 1.489 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.261, allocations: 1.103 MB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.261, allocations: 4 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.2612, allocations: 19.86 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.2614, allocations: 39.78 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2616, allocations: 57.97 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.2618, allocations: 139.6 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.2619, allocations: 73 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.262, allocations: 79.77 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.2622, allocations: 55.7 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.2622, allocations: 8 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.2623, allocations: 31.98 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.2624, allocations: 51.88 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.2625, allocations: 75.53 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2627, allocations: 203.6 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2628, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2628, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2628, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 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.0006213/0.2634, allocations: 490.7 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2634, allocations: 8.031 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.2635, allocations: 46.69 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.2636, allocations: 20.73 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2638, allocations: 252 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.264, allocations: 119.3 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.264, allocations: 4.375 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2643, allocations: 165.4 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.2643, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.2644, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.2644, allocations: 19.88 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.2645, allocations: 43.97 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.2655, allocations: 464.3 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.2656, allocations: 38.55 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.2656, allocations: 28.84 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2656, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2657, allocations: 34.56 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2657, allocations: 4 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002521/0.2659, allocations: 105.5 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.266, allocations: 55.34 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.2662, allocations: 219.6 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2662, allocations: 29.7 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.2663, allocations: 120.2 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.2663, allocations: 27.78 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.2664, allocations: 33.7 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2665, allocations: 326.8 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.2666, allocations: 27.98 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.2667, allocations: 94.28 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2668, allocations: 146.1 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2668, allocations: 0 / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002376/0.2671, allocations: 153.5 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2671, allocations: 8 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2671, allocations: 320 / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2671, allocations: 7.984 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.2672, allocations: 23.94 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2672, allocations: 11.92 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.2673, allocations: 15.84 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2673, allocations: 11.98 kB / 1.07 GB, free: 7.637 MB / 0.8262 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.0001158/0.2675, allocations: 152.2 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.2675, allocations: 15.81 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.2677, allocations: 111.1 kB / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2677, allocations: 0 / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2678, allocations: 3.938 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2678, allocations: 0 / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.268, allocations: 237.5 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.268, allocations: 4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.2681, allocations: 19.86 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2681, allocations: 12 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.2681, allocations: 4 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2681, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2681, allocations: 3.938 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2683, allocations: 183.3 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.2683, allocations: 85.02 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.2684, allocations: 4 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.2686, allocations: 23.97 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.2687, allocations: 7.922 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.2687, allocations: 11.98 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001327/0.2688, allocations: 161.5 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2688, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003067/0.2691, allocations: 39.84 kB / 1.071 GB, free: 6.484 MB / 0.8262 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.0005419/0.2697, allocations: 0.7454 MB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.2699, allocations: 76.34 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.2699, allocations: 4.188 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.2699, allocations: 31.92 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2702, allocations: 23.92 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.272, allocations: 1.905 MB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2723, allocations: 0.7314 MB / 1.074 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.2724, allocations: 56.83 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.2725, allocations: 43.42 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2725, allocations: 0 / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.2939, allocations: 4.176 MB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.81, allocations: 11.05 kB / 1.079 GB, free: 14.6 MB / 0.8419 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)