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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006039/0.006039, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.00123/0.00123, allocations: 190 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.779/2.779, allocations: 469.4 MB / 0.7421 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8541/0.8556, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002572/0.8582, allocations: 1.358 MB / 1.221 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001743/0.8584, allocations: 44.36 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.8585, allocations: 4 kB / 1.221 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.8586, allocations: 11.92 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.8588, allocations: 23.86 kB / 1.221 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.771e-06/0.8588, allocations: 3.938 kB / 1.221 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.8589, allocations: 19.92 kB / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.8589, allocations: 0 / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.533e-05/0.859, allocations: 4 kB / 1.221 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.859, allocations: 19.86 kB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.859, allocations: 0 / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.8591, allocations: 8 kB / 1.221 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.8591, allocations: 15.92 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.8592, allocations: 7.938 kB / 1.221 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.8593, allocations: 34.56 kB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8593, allocations: 0 / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8593, allocations: 0 / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8593, allocations: 0 / 1.221 GB, free: 0.7266 MB / 0.9356 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.0003281/0.8596, allocations: 338.9 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.8597, allocations: 8.625 kB / 1.222 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.8597, allocations: 34.73 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.8598, allocations: 4.938 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.8599, allocations: 176.3 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-06/0.86, allocations: 4.375 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.86, allocations: 384 / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.87e-05/0.8601, allocations: 34.25 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8601, allocations: 7.875 kB / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.8601, allocations: 0 / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.8601, allocations: 0 / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.8601, allocations: 4 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.8603, allocations: 153.7 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.387e-05/0.8603, allocations: 22.64 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.8604, allocations: 8.859 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.8604, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.8604, allocations: 38.55 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.8604, allocations: 3.938 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.8606, allocations: 41.64 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.8606, allocations: 51.41 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.8607, allocations: 122 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.8607, allocations: 29.64 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.8608, allocations: 80.14 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.8608, allocations: 11.89 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.8608, allocations: 17.7 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.8609, allocations: 310.8 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.8609, allocations: 0 / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.861, allocations: 4 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.861, allocations: 24.8 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.861, allocations: 0 / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.26e-05/0.8611, allocations: 37.69 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8611, allocations: 7.938 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.8611, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.8611, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.8612, allocations: 4 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.8612, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.8612, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.8612, allocations: 4.031 kB / 1.223 GB, free: 14.94 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.304e-05/0.8613, allocations: 117.3 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.8613, allocations: 11.88 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.8614, allocations: 45.17 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8614, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.8614, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.8614, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.253e-05/0.8615, allocations: 157.7 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8615, allocations: 32 / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.8615, allocations: 8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8615, allocations: 3.938 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.8616, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8616, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.8616, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.168e-05/0.8616, allocations: 69.05 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.8617, allocations: 85.06 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.8617, allocations: 7.969 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.8617, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.8617, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.8618, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.853e-05/0.8618, allocations: 95.2 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8618, allocations: 4 kB / 1.223 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001976/0.862, allocations: 0 / 1.223 GB, free: 14.24 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.0004304/0.8625, allocations: 0.6274 MB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.811e-05/0.8626, allocations: 11.92 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8626, allocations: 0 / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.8626, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.8627, allocations: 6.188 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009257/0.8637, allocations: 1.114 MB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.8639, allocations: 0.6768 MB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.317e-05/0.864, allocations: 7.953 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.864, allocations: 11.44 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.864, allocations: 0 / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.8802, allocations: 1.398 MB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.798, allocations: 15.92 kB / 1.227 GB, free: 10.35 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)