Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 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.001046/0.001046, allocations: 194 kB / 16.53 MB, free: 6.391 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 70.75 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2601, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002729/0.2629, allocations: 1.376 MB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001526/0.2631, allocations: 43.81 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.2631, allocations: 0 / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2633, allocations: 7.938 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2634, allocations: 19.92 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.2634, allocations: 0 / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.2635, allocations: 11.94 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.2635, allocations: 4 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.2636, allocations: 19.91 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.2636, allocations: 8 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2636, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.551e-05/0.2637, allocations: 11.94 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.2637, allocations: 7.938 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.2637, allocations: 7.938 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2639, allocations: 31.89 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2639, allocations: 0 / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2639, allocations: 0 / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2639, allocations: 0 / 1.065 GB, free: 12.96 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003108/0.2642, allocations: 335.7 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2642, allocations: 12.03 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.2643, allocations: 30.75 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.2643, allocations: 4.922 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.2645, allocations: 176.3 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-06/0.2645, allocations: 384 / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.2645, allocations: 4.375 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.674e-05/0.2646, allocations: 26.27 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2646, allocations: 3.938 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.2646, allocations: 8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.2646, allocations: 3.938 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.831e-05/0.2646, allocations: 0 / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.2648, allocations: 157.7 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/0.2648, allocations: 18.61 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.2649, allocations: 12.78 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2649, allocations: 4.062 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2649, allocations: 34.56 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2649, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.265, allocations: 49.52 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2651, allocations: 51.41 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2652, allocations: 117.8 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.2652, allocations: 25.7 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.2652, allocations: 88.12 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.2653, allocations: 7.906 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.2653, allocations: 13.84 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2654, allocations: 314.8 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.2654, allocations: 0 / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.2654, allocations: 0 / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.2655, allocations: 20.78 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2655, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.743e-05/0.2655, allocations: 33.7 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2656, allocations: 9.281 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2656, allocations: 8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2656, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.121e-05/0.2656, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2656, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.2657, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.2657, allocations: 7.984 kB / 1.067 GB, free: 11.18 MB / 0.8262 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 6.592e-05/0.2657, allocations: 114.4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.2658, allocations: 11.84 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.3e-05/0.2658, allocations: 45.17 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2659, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2659, allocations: 3.984 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2659, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.266, allocations: 157.7 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.266, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.266, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.266, allocations: 3.938 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.266, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.266, allocations: 4 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.266, allocations: 3.938 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.998e-05/0.2661, allocations: 69.09 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.2662, allocations: 77.11 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2662, allocations: 3.938 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.2662, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.2662, allocations: 3.938 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2662, allocations: 4 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.2663, allocations: 95.61 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2663, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002046/0.2665, allocations: 11.91 kB / 1.067 GB, free: 10.47 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 (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.0003933/0.2669, allocations: 0.6096 MB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.783e-05/0.267, allocations: 11.92 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.267, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.267, allocations: 4 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.2671, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.268, allocations: 1.118 MB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.2683, allocations: 0.6846 MB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.633e-05/0.2683, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.2683, allocations: 15.38 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2684, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.2843, allocations: 1.381 MB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/7.785, allocations: 11.62 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)