Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_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.001371/0.001371, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.002361/0.002361, allocations: 186.1 kB / 16.25 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.697/2.697, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.299/5.299, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 75.2 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.5561, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.00511/0.5612, allocations: 1.422 MB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002441/0.5615, allocations: 43.88 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.5616, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.5619, allocations: 7.938 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.5621, allocations: 15.92 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.482e-06/0.5622, allocations: 0 / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.534e-05/0.5623, allocations: 11.98 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.5624, allocations: 7.938 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.5624, allocations: 11.92 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.5625, allocations: 4 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.5625, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.5626, allocations: 16 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.5627, allocations: 7.938 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.5627, allocations: 7.922 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.5629, allocations: 27.91 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5629, allocations: 0 / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5629, allocations: 3.938 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5629, allocations: 0 / 1.054 GB, free: 7.059 MB / 0.8106 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.0005517/0.5635, allocations: 337.2 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/0.5636, allocations: 8.625 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.916e-05/0.5637, allocations: 30.75 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.5637, allocations: 4.938 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.564, allocations: 176.3 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.564, allocations: 384 / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.564, allocations: 384 / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5642, allocations: 42.19 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5642, allocations: 3.938 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.5642, allocations: 7.984 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.5643, allocations: 3.984 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.5643, allocations: 4 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.5648, allocations: 241 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.5649, allocations: 22.45 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.5649, allocations: 12.92 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.5649, allocations: 3.938 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.565, allocations: 30.56 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.744e-06/0.565, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002428/0.5653, allocations: 37.7 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.5653, allocations: 55.39 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.5655, allocations: 118 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.5655, allocations: 29.64 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.5656, allocations: 88.14 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.5657, allocations: 0 / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.5657, allocations: 9.719 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5659, allocations: 315 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.5659, allocations: 7.984 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.5659, allocations: 0 / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.566, allocations: 12.86 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.566, allocations: 3.938 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.5661, allocations: 37.61 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5662, allocations: 8 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5662, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.5662, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.5663, allocations: 12.02 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5663, allocations: 4.062 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.5663, allocations: 0 / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5664, allocations: 8 kB / 1.056 GB, free: 5.184 MB / 0.8106 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 0.0001239/0.5665, allocations: 111.3 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.5665, allocations: 4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.5667, allocations: 45.16 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5667, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5667, allocations: 32 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5668, allocations: 8 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.567, allocations: 157.6 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.567, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.5671, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5671, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.5671, allocations: 4 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.5671, allocations: 0 / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5671, allocations: 3.938 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.5673, allocations: 143.4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.5674, allocations: 81.02 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.5674, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.5675, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.5675, allocations: 3.984 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.5676, allocations: 4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.5676, allocations: 87.28 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5677, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003705/0.568, allocations: 7.938 kB / 1.056 GB, free: 4.438 MB / 0.8106 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.0007998/0.5689, allocations: 0.6917 MB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.569, allocations: 8.031 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.569, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.569, allocations: 4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.5694, allocations: 0 / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.571, allocations: 1.175 MB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.5714, allocations: 0.6845 MB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.5716, allocations: 11.92 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.5716, allocations: 15.47 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.5716, allocations: 0 / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.6432, allocations: 1.28 MB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004718/0.6438, allocations: 205.9 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.792/5.436, allocations: 5.25 kB / 1.06 GB, free: 288 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)