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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008884/0.008884, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.002568/0.002568, allocations: 190.1 kB / 16.67 MB, free: 5.48 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.341/1.341, 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 12.0.0-master/package.mo): time 2.571/2.571, allocations: 472.7 MB / 0.7453 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.89 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7293, allocations: 159.9 MB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002538/0.7318, allocations: 1.372 MB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.732, allocations: 36.42 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.7321, allocations: 0 / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.7323, allocations: 19.86 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.7324, allocations: 19.92 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.7324, allocations: 0 / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.7325, allocations: 12 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.7325, allocations: 11.92 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.7325, allocations: 7.938 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.7326, allocations: 3.984 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.7326, allocations: 4 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.731e-05/0.7327, allocations: 19.92 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.7327, allocations: 0 / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.7327, allocations: 11.94 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.7329, allocations: 30.56 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7329, allocations: 0 / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7329, allocations: 4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7329, allocations: 0 / 1.227 GB, free: 11.88 MB / 0.9512 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.0003037/0.7332, allocations: 342.3 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.7332, allocations: 12.03 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.7333, allocations: 30.75 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.7333, allocations: 0.9375 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.7335, allocations: 176.3 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-06/0.7335, allocations: 384 / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.7335, allocations: 4.375 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.322e-05/0.7336, allocations: 34.2 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7336, allocations: 3.938 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.7336, allocations: 4 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.7336, allocations: 3.984 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.7336, allocations: 0 / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.7338, allocations: 157.6 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.7338, allocations: 18.61 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.7338, allocations: 12.84 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.7339, allocations: 12 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.7339, allocations: 30.56 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.7339, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.734, allocations: 41.62 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.7341, allocations: 51.41 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.7342, allocations: 117.8 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.7342, allocations: 25.7 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.7342, allocations: 92.27 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.7343, allocations: 7.891 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.7343, allocations: 9.719 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.7344, allocations: 318.8 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.7344, allocations: 3.984 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-06/0.7344, allocations: 7.938 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.7344, allocations: 12.86 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7344, allocations: 4.062 kB / 1.228 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.858e-05/0.7345, allocations: 33.7 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.7345, allocations: 7.938 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7345, allocations: 4 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.7346, allocations: 3.984 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.7346, allocations: 0 / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.7346, allocations: 0 / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.7346, allocations: 0 / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.7346, allocations: 4 kB / 1.228 GB, free: 10.09 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 6.336e-05/0.7347, allocations: 113.8 kB / 1.228 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.7347, allocations: 15.89 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.7348, allocations: 41.16 kB / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7348, allocations: 0 / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7348, allocations: 0 / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.7348, allocations: 4 kB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.702e-05/0.7349, allocations: 157.7 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.735, allocations: 0 / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.735, allocations: 0 / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.735, allocations: 3.938 kB / 1.229 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.735, allocations: 15.95 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.735, allocations: 0 / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.735, allocations: 0 / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.712e-05/0.7351, allocations: 61.08 kB / 1.229 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.7351, allocations: 81.06 kB / 1.229 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.7351, allocations: 7.922 kB / 1.229 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.7352, allocations: 0 / 1.229 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.7352, allocations: 4.031 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.7352, allocations: 4 kB / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.7352, allocations: 91.28 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7352, allocations: 0 / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002007/0.7354, allocations: 7.984 kB / 1.229 GB, free: 9.391 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.0003761/0.7358, allocations: 0.6117 MB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.7359, allocations: 8 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7359, allocations: 0 / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.7359, allocations: 4 kB / 1.229 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.7361, allocations: 2.031 kB / 1.229 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.7369, allocations: 1.125 MB / 1.23 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.7371, allocations: 0.6807 MB / 1.231 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.733e-05/0.7372, allocations: 7.938 kB / 1.231 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.7372, allocations: 11.44 kB / 1.231 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.7372, allocations: 0 / 1.231 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.7543, allocations: 1.398 MB / 1.233 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.534, allocations: 24.5 kB / 1.233 GB, free: 5.5 MB / 0.9512 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)