Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_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.001154/0.001154, 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.001311/0.001311, allocations: 189.2 kB / 16.25 MB, free: 6.637 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.413/1.413, 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 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8108, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002645/0.8135, allocations: 1.433 MB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.8137, allocations: 48.28 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.8137, allocations: 0 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.8139, allocations: 8 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.814, allocations: 11.92 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.577e-06/0.814, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.8141, allocations: 19.92 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.8141, allocations: 4 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.8142, allocations: 11.92 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.8142, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.8142, allocations: 4 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.8143, allocations: 8 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.8143, allocations: 7.938 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.8144, allocations: 11.92 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.8145, allocations: 35.91 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8145, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8145, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.8145, allocations: 0 / 1.018 GB, free: 1.055 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.0002986/0.8148, allocations: 341.6 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8149, allocations: 8.031 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.8149, allocations: 38.73 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.8149, allocations: 0.9375 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.8151, allocations: 172.3 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.8151, allocations: 4.375 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.8151, allocations: 12.3 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.706e-05/0.8152, allocations: 30.27 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8152, allocations: 3.938 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.8152, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.8152, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.8153, allocations: 7.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.8154, allocations: 153.7 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.577e-05/0.8154, allocations: 22.58 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.8155, allocations: 8.844 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.8155, allocations: 7.984 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.8155, allocations: 30.56 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.883e-06/0.8155, allocations: 4.062 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.8156, allocations: 41.52 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.8157, allocations: 55.41 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.8158, allocations: 118 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.8158, allocations: 25.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.8158, allocations: 88.12 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.8159, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.8159, allocations: 13.72 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.816, allocations: 314.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.816, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.816, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.8161, allocations: 16.91 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.8161, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.779e-05/0.8161, allocations: 45.55 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.8161, allocations: 7.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.8162, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.8162, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.8162, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.8162, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.8162, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.8163, allocations: 0 / 1.02 GB, free: 15.27 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.325e-05/0.8163, allocations: 117.9 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.8163, allocations: 7.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.8164, allocations: 49.16 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.8164, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.8164, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8165, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.554e-05/0.8165, allocations: 153.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8165, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.8166, allocations: 4.031 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.8166, allocations: 7.938 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.8166, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8166, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8166, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.694e-05/0.8167, allocations: 69.03 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.8167, allocations: 81.11 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.8167, allocations: 3.938 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.8167, allocations: 7.969 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.8168, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.8168, allocations: 0 / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.8168, allocations: 99.27 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8168, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001765/0.817, allocations: 4 kB / 1.021 GB, free: 14.57 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.0003863/0.8174, allocations: 0.6202 MB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.517e-05/0.8175, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8175, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.8175, allocations: 11.94 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.8176, allocations: 6.391 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.8185, allocations: 1.11 MB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.8187, allocations: 0.6768 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.145e-05/0.8188, allocations: 4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.8188, allocations: 15.38 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8188, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.307/2.126, allocations: 1.289 MB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/2.126, allocations: 216.3 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.138/4.264, allocations: 3.938 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)