Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_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.008546/0.008546, allocations: 96.59 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.002397/0.002397, allocations: 189.9 kB / 16.67 MB, free: 5.98 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002982/0.3003, allocations: 1.372 MB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001677/0.3005, allocations: 35.88 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.3006, allocations: 3.938 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.3008, allocations: 11.92 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3009, allocations: 11.94 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.3009, allocations: 0 / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.301, allocations: 31.84 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.301, allocations: 4 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.3011, allocations: 8 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.3011, allocations: 11.92 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3012, allocations: 0 / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.3012, allocations: 12 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.3012, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.3013, allocations: 15.92 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3014, allocations: 28.12 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3014, allocations: 0 / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3014, allocations: 4 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3014, allocations: 0 / 1.168 GB, free: 5.73 MB / 0.92 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.0004183/0.3018, allocations: 339.3 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3019, allocations: 12.03 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.3019, allocations: 30.75 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.302, allocations: 0.9375 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3022, allocations: 184.2 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3022, allocations: 4.375 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.3022, allocations: 384 / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.3023, allocations: 42.19 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3023, allocations: 7.938 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.3023, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.3024, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.3024, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.3026, allocations: 153.7 kB / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.53e-05/0.3026, allocations: 18.61 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.3026, allocations: 12.8 kB / 1.168 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3027, allocations: 4.062 kB / 1.168 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3027, allocations: 34.56 kB / 1.168 GB, free: 4.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3027, allocations: 3.938 kB / 1.168 GB, free: 4.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001398/0.3028, allocations: 41.62 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3029, allocations: 51.41 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.303, allocations: 113.8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.303, allocations: 25.7 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.3031, allocations: 92.27 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3031, allocations: 3.953 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.3032, allocations: 13.7 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3033, allocations: 318.8 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.3034, allocations: 3.938 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.3034, allocations: 0 / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.3034, allocations: 8.859 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3034, allocations: 4.062 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.619e-05/0.3035, allocations: 45.62 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3035, allocations: 11.94 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3035, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3036, allocations: 4 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.3036, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3036, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.3036, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3036, allocations: 7.938 kB / 1.169 GB, free: 3.934 MB / 0.92 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.172e-05/0.3037, allocations: 112.5 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.3038, allocations: 11.89 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.281e-05/0.3038, allocations: 41.22 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3039, allocations: 3.984 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3039, allocations: 4 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3039, allocations: 0 / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.304, allocations: 157.7 kB / 1.169 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.304, allocations: 0 / 1.169 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.304, allocations: 0 / 1.169 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.304, allocations: 3.938 kB / 1.169 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3041, allocations: 8.031 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3041, allocations: 0 / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3041, allocations: 0 / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.3042, allocations: 65.06 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.3042, allocations: 77.11 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.3042, allocations: 3.938 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.3043, allocations: 3.938 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.3043, allocations: 8.031 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.3043, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.439e-05/0.3044, allocations: 95.27 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3044, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001921/0.3046, allocations: 7.953 kB / 1.17 GB, free: 3.238 MB / 0.92 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.0005196/0.3051, allocations: 0.6217 MB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.327e-05/0.3052, allocations: 8 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3052, allocations: 0 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.3052, allocations: 11.92 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.3053, allocations: 4 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3064, allocations: 1.106 MB / 1.171 GB, free: 1.383 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3067, allocations: 0.6768 MB / 1.172 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.957e-05/0.3068, allocations: 4 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3068, allocations: 7.438 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3068, allocations: 0 / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3293, allocations: 1.401 MB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/8.664, allocations: 10.91 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)