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.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.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.004655/0.004655, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001169/0.001169, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 71.83 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9315, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002829/0.9344, allocations: 1.36 MB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001857/0.9346, allocations: 55.81 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.9346, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.9348, allocations: 7.922 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.935, allocations: 15.94 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.539e-06/0.935, allocations: 3.938 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.9351, allocations: 23.91 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.9351, allocations: 4 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.9351, allocations: 0 / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.9352, allocations: 15.92 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.9352, allocations: 4 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-05/0.9353, allocations: 8 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.9353, allocations: 11.94 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.9354, allocations: 7.922 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.9355, allocations: 31.91 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9355, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9355, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9355, allocations: 0 / 1.209 GB, free: 12.02 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.0003591/0.9359, allocations: 329.7 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.9359, allocations: 8.031 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.936, allocations: 38.75 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.936, allocations: 0.9375 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.9362, allocations: 184.2 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.9362, allocations: 4.359 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.9362, allocations: 384 / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/0.9363, allocations: 30.27 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9363, allocations: 7.922 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.9364, allocations: 3.938 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.9364, allocations: 4 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.9364, allocations: 0 / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.9366, allocations: 161.7 kB / 1.209 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/0.9366, allocations: 22.52 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.9367, allocations: 4.859 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.9367, allocations: 3.984 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9367, allocations: 34.62 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.9367, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.9369, allocations: 41.64 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9369, allocations: 59.34 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.9371, allocations: 117.8 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.9371, allocations: 29.64 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.9371, allocations: 80.14 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.9372, allocations: 11.92 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.9372, allocations: 13.72 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9373, allocations: 311 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.9373, allocations: 8 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-06/0.9374, allocations: 4 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.9374, allocations: 8.859 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.9374, allocations: 4 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.555e-05/0.9375, allocations: 41.62 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9375, allocations: 9.5 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.9375, allocations: 0 / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.9375, allocations: 0 / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.904e-05/0.9376, allocations: 8.094 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.9376, allocations: 0 / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.9376, allocations: 0 / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.9376, allocations: 0 / 1.21 GB, free: 10.24 MB / 0.9356 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 8.217e-05/0.9377, allocations: 117.8 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.9377, allocations: 7.844 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.9378, allocations: 41.23 kB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9378, allocations: 0 / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9378, allocations: 4.031 kB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9378, allocations: 3.984 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.938, allocations: 153.7 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.938, allocations: 4 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.938, allocations: 7.875 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.938, allocations: 3.938 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.938, allocations: 0 / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.938, allocations: 0 / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.938, allocations: 0 / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.501e-05/0.9381, allocations: 65.12 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.9382, allocations: 85.02 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.9382, allocations: 3.938 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.9382, allocations: 0 / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.9382, allocations: 0 / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.9382, allocations: 0 / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.9383, allocations: 99.2 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9383, allocations: 0 / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00021/0.9385, allocations: 8 kB / 1.211 GB, free: 9.535 MB / 0.9356 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.0004693/0.939, allocations: 0.6183 MB / 1.211 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.9391, allocations: 12.02 kB / 1.211 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9391, allocations: 0 / 1.211 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.9391, allocations: 4 kB / 1.211 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.9392, allocations: 1.375 kB / 1.211 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.9402, allocations: 1.121 MB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.9405, allocations: 0.6807 MB / 1.213 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.897e-05/0.9406, allocations: 7.891 kB / 1.213 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.9406, allocations: 15.44 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.9406, allocations: 0 / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.9592, allocations: 1.393 MB / 1.215 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.843, allocations: 5.094 kB / 1.215 GB, free: 5.652 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)