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.009005/0.009005, allocations: 101.5 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.002061/0.002061, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 55.91 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2989, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002866/0.3018, allocations: 1.374 MB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001752/0.302, allocations: 39.81 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.302, allocations: 0 / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.3022, allocations: 15.94 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3024, allocations: 15.86 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.938e-06/0.3024, allocations: 4 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.051e-05/0.3024, allocations: 15.97 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.3025, allocations: 8 kB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.3025, allocations: 11.88 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.3026, allocations: 7.922 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3026, allocations: 4 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.3027, allocations: 12 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.3027, allocations: 0 / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.3027, allocations: 11.94 kB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3029, allocations: 35.89 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3029, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3029, allocations: 0 / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.3029, allocations: 0 / 1.209 GB, free: 8.59 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003424/0.3032, allocations: 335.7 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3033, allocations: 12.62 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.3033, allocations: 30.75 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3034, allocations: 4.844 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3036, allocations: 172.4 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3036, allocations: 4.375 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3036, allocations: 8.359 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.353e-05/0.3037, allocations: 38.12 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3037, allocations: 3.938 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3037, allocations: 0 / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.3038, allocations: 7.938 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.3038, allocations: 0 / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.3039, allocations: 153.7 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.304, allocations: 22.61 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.304, allocations: 8.859 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3041, allocations: 0 / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3041, allocations: 38.56 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3041, allocations: 0 / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001666/0.3043, allocations: 45.53 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3043, allocations: 51.41 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3044, allocations: 122 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3044, allocations: 25.7 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.3045, allocations: 84.14 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3045, allocations: 4 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.3046, allocations: 9.719 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3047, allocations: 318.8 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.3047, allocations: 4 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.3047, allocations: 0 / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.3047, allocations: 16.86 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3047, allocations: 0 / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.792e-05/0.3048, allocations: 45.59 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3048, allocations: 7.938 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3049, allocations: 0 / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3049, allocations: 4 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.3049, allocations: 0 / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3049, allocations: 0 / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.305, allocations: 0 / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.305, allocations: 4.031 kB / 1.21 GB, free: 6.805 MB / 0.9669 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.377e-05/0.305, allocations: 109.8 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.3051, allocations: 3.938 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.3051, allocations: 49.16 kB / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3052, allocations: 0 / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3052, allocations: 0 / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3052, allocations: 0 / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.3053, allocations: 165.6 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3053, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.3053, allocations: 11.97 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3053, allocations: 3.938 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3053, allocations: 0 / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3053, allocations: 0 / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3053, allocations: 4 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.934e-05/0.3054, allocations: 61.08 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.3055, allocations: 85 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.3055, allocations: 7.969 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.3055, allocations: 3.984 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-06/0.3055, allocations: 0 / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3055, allocations: 4 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.3056, allocations: 95.27 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3056, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002042/0.3058, allocations: 4 kB / 1.211 GB, free: 6.102 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 (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.0004098/0.3062, allocations: 0.6088 MB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.313e-05/0.3063, allocations: 7.938 kB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3063, allocations: 0 / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.3063, allocations: 8.094 kB / 1.211 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.3065, allocations: 8.047 kB / 1.211 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/0.3075, allocations: 1.121 MB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3077, allocations: 0.6768 MB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.243e-05/0.3078, allocations: 11.89 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.3078, allocations: 7.438 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3079, allocations: 0 / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.3274, allocations: 1.412 MB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.401, allocations: 9.75 kB / 1.215 GB, free: 2.207 MB / 0.9669 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)