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.001147/0.001147, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001106/0.001106, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.208/1.208, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.29/2.29, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.89 kB / 0.8688 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5385, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002487/0.541, allocations: 1.406 MB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.5412, allocations: 40.28 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.5412, allocations: 0 / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.5414, allocations: 15.94 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.5415, allocations: 11.98 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.5415, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.5416, allocations: 23.88 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.5416, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.5417, allocations: 11.92 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.5417, allocations: 7.984 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.5417, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.52e-05/0.5418, allocations: 12 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.5418, allocations: 11.86 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.5418, allocations: 7.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.374e-05/0.5419, allocations: 27.91 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5419, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5419, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.542, allocations: 4 kB / 1.018 GB, free: 1.117 MB / 0.7637 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.000305/0.5423, allocations: 337.6 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5423, allocations: 8.031 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.5424, allocations: 34.75 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.5424, allocations: 0.9375 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.5426, allocations: 176.3 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-06/0.5426, allocations: 384 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.5426, allocations: 4.375 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.382e-05/0.5427, allocations: 42.25 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5427, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.5427, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.5427, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.5427, allocations: 4 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.543, allocations: 240.9 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.543, allocations: 22.52 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.5431, allocations: 12.92 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.5431, allocations: 0 / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.5431, allocations: 34.5 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.5431, allocations: 3.938 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.5433, allocations: 37.69 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.5433, allocations: 51.41 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.5434, allocations: 113.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.5434, allocations: 25.83 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.5435, allocations: 100 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.5435, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.5435, allocations: 13.72 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.5436, allocations: 318.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.5436, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-06/0.5436, allocations: 7.938 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.5437, allocations: 8.859 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5437, allocations: 8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.482e-05/0.5437, allocations: 33.64 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5438, allocations: 8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5438, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5438, allocations: 3.984 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.223e-05/0.5438, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5439, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.5439, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.5439, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 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.224e-05/0.5439, allocations: 117.8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.544, allocations: 7.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.5441, allocations: 41.16 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5441, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5441, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5441, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.5442, allocations: 157.6 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5442, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.5443, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5443, allocations: 4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5443, allocations: 8.031 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5443, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5443, allocations: 3.984 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.884e-05/0.5444, allocations: 135.4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.5444, allocations: 81.02 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.5444, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.979e-05/0.5445, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.5445, allocations: 12.02 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5445, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.5446, allocations: 87.28 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5446, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002198/0.5448, allocations: 8 kB / 1.021 GB, free: 14.5 MB / 0.7794 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.0004213/0.5452, allocations: 0.699 MB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.165e-05/0.5453, allocations: 7.938 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5453, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.744e-06/0.5453, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.5455, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000866/0.5464, allocations: 1.198 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.5466, allocations: 0.6768 MB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.943e-05/0.5467, allocations: 7.984 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.5467, allocations: 7.438 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5467, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4884/1.035, allocations: 1.266 MB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.035, allocations: 192.8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.757, allocations: 3.938 kB / 1.025 GB, free: 10.34 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)