Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_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.00577/0.00577, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001113/0.001113, allocations: 199 kB / 16.67 MB, free: 5.977 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.91 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3137, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.004092/0.3178, allocations: 1.49 MB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3195, allocations: 1.113 MB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.3197, allocations: 3.938 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.3199, allocations: 15.88 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3202, allocations: 47.77 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3205, allocations: 55.91 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3207, allocations: 147.6 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.3209, allocations: 61.05 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3211, allocations: 83.69 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.3213, allocations: 59.7 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.3214, allocations: 12 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/0.3215, allocations: 27.98 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.3216, allocations: 43.89 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3217, allocations: 83.5 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.322, allocations: 199.6 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.322, allocations: 4 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.203e-06/0.322, allocations: 0 / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.322, allocations: 0 / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007934/0.3228, allocations: 498.6 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3229, allocations: 8.625 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.24e-05/0.3229, allocations: 38.75 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.323, allocations: 20.66 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.3234, allocations: 256 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.3235, allocations: 123.3 kB / 1.212 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3236, allocations: 4.375 kB / 1.212 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.3239, allocations: 161.5 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3239, allocations: 0 / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.324, allocations: 7.922 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.324, allocations: 11.94 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.3241, allocations: 47.91 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3251, allocations: 464.3 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.336e-05/0.3252, allocations: 38.5 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.3253, allocations: 20.86 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.3253, allocations: 11.98 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3253, allocations: 30.56 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.3253, allocations: 0 / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0002727/0.3256, allocations: 101.6 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3257, allocations: 59.33 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.3259, allocations: 215.8 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3259, allocations: 29.7 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.326, allocations: 128 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3261, allocations: 31.69 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.3261, allocations: 25.72 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3263, allocations: 326.8 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.3263, allocations: 27.98 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3264, allocations: 102.2 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3266, allocations: 142.1 kB / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3266, allocations: 0 / 1.213 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002701/0.3269, allocations: 153.2 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3269, allocations: 8 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.327, allocations: 4 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.327, allocations: 4 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3271, allocations: 19.98 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.3271, allocations: 16.19 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.3272, allocations: 19.94 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3272, allocations: 8 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001332/0.3274, allocations: 137.8 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.3274, allocations: 15.81 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.3277, allocations: 122.8 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3277, allocations: 4 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3277, allocations: 3.938 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3277, allocations: 0 / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.3279, allocations: 237.5 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.328, allocations: 0 / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.328, allocations: 12 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.328, allocations: 0 / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.328, allocations: 7.984 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.328, allocations: 0 / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.328, allocations: 7.938 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3282, allocations: 183.3 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.3283, allocations: 88.92 kB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3283, allocations: 4 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.3286, allocations: 23.97 kB / 1.214 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.3286, allocations: 7.938 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3286, allocations: 7.984 kB / 1.214 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001463/0.3288, allocations: 161.5 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3288, allocations: 0 / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003246/0.3291, allocations: 35.92 kB / 1.215 GB, free: 2.16 MB / 0.9669 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 (8): * Single equations (assignments): 8 * 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.0006013/0.3297, allocations: 0.7408 MB / 1.215 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3299, allocations: 87.94 kB / 1.215 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3299, allocations: 0 / 1.215 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.33, allocations: 23.98 kB / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3303, allocations: 20.08 kB / 1.215 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.3323, allocations: 1.931 MB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3326, allocations: 0.7275 MB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.3328, allocations: 52.77 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.3328, allocations: 47.42 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3328, allocations: 0 / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.3548, allocations: 4.24 MB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.396, allocations: 1.719 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)