Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_10_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.006456/0.006456, allocations: 99.55 kB / 15.73 MB, free: 6.445 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.00147/0.00147, allocations: 195.3 kB / 16.67 MB, free: 6.352 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.807/2.807, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.294, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002487/0.2966, allocations: 1.368 MB / 1.167 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001411/0.2967, allocations: 35.81 kB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.2968, allocations: 0 / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.2969, allocations: 11.94 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.297, allocations: 7.922 kB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.556e-06/0.297, allocations: 4 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.2971, allocations: 19.88 kB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.2972, allocations: 4 kB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.2972, allocations: 7.969 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.2972, allocations: 11.94 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2973, allocations: 0 / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.2973, allocations: 12 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.2973, allocations: 3.984 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.2974, allocations: 15.88 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.2975, allocations: 24.12 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2975, allocations: 0 / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2975, allocations: 4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2975, allocations: 0 / 1.168 GB, free: 5.797 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.0003647/0.2979, allocations: 343.2 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2979, allocations: 8.031 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.298, allocations: 30.75 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.298, allocations: 8.938 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2982, allocations: 172.3 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2982, allocations: 4.375 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.2982, allocations: 384 / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/0.2983, allocations: 30.27 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2983, allocations: 7.922 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.2983, allocations: 0 / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.2983, allocations: 4 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.2983, allocations: 3.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.2987, allocations: 248.9 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.2987, allocations: 22.55 kB / 1.168 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.2987, allocations: 4.859 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.2987, allocations: 4.062 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2988, allocations: 38.44 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2988, allocations: 0 / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.2989, allocations: 45.66 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.299, allocations: 55.39 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2991, allocations: 109.8 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2991, allocations: 25.7 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.2992, allocations: 84.14 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.2992, allocations: 4 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.2992, allocations: 9.719 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2994, allocations: 319 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.2994, allocations: 7.984 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-06/0.2994, allocations: 0 / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.2994, allocations: 12.8 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2995, allocations: 3.938 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.293e-05/0.2995, allocations: 41.59 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2995, allocations: 4 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2996, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2996, allocations: 8.078 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.2996, allocations: 4 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2996, allocations: 0 / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.2996, allocations: 4 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2997, allocations: 4 kB / 1.169 GB, free: 3.922 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.667e-05/0.2997, allocations: 114.4 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2998, allocations: 0 / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.2999, allocations: 45.16 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2999, allocations: 0 / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2999, allocations: 4.031 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.2999, allocations: 0 / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.3001, allocations: 157.6 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3001, allocations: 0 / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.3001, allocations: 4 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3001, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.3001, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3001, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3001, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.3002, allocations: 147.4 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.3003, allocations: 81.11 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.3003, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.3004, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3004, allocations: 7.969 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3004, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.3004, allocations: 91.59 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3005, allocations: 3.938 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000222/0.3007, allocations: 7.938 kB / 1.17 GB, free: 3.168 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.0005372/0.3012, allocations: 0.6891 MB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.959e-05/0.3013, allocations: 11.97 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3013, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.3013, allocations: 7.938 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.3015, allocations: 5.875 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3026, allocations: 1.183 MB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3029, allocations: 0.6768 MB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.303, allocations: 4 kB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.303, allocations: 11.44 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.303, allocations: 4.031 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.3255, allocations: 1.382 MB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.575, allocations: 6.125 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)