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.008301/0.008301, allocations: 100.9 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.001595/0.001595, allocations: 196.8 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.862/2.862, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3025, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002859/0.3054, allocations: 1.478 MB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.307, allocations: 1.113 MB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.3071, allocations: 7.938 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.3073, allocations: 15.86 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.3075, allocations: 47.77 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3077, allocations: 51.92 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.308, allocations: 147.6 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.3081, allocations: 65.03 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3083, allocations: 87.7 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3085, allocations: 53.45 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.3085, allocations: 12 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.3086, allocations: 31.98 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.3087, allocations: 39.89 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.591e-05/0.3088, allocations: 83.5 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3091, allocations: 199.6 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3091, allocations: 4 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3091, allocations: 0 / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3091, allocations: 0 / 1.211 GB, free: 6.699 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.0007138/0.3098, allocations: 498.6 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3099, allocations: 12.62 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.604e-05/0.31, allocations: 38.73 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.31, allocations: 24.66 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3104, allocations: 248 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.3105, allocations: 127.3 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3106, allocations: 4.375 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.3109, allocations: 162.8 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.3109, allocations: 3.938 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.311, allocations: 0 / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.311, allocations: 15.92 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.013e-05/0.3111, allocations: 47.95 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3122, allocations: 464.3 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/0.3123, allocations: 30.56 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.3123, allocations: 24.8 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.3124, allocations: 16.08 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3124, allocations: 38.55 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3124, allocations: 0 / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0002638/0.3127, allocations: 97.72 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.3127, allocations: 59.34 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.313, allocations: 211.8 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.313, allocations: 33.7 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.3131, allocations: 116 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3131, allocations: 35.69 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.3132, allocations: 25.72 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3133, allocations: 326.8 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.3133, allocations: 27.98 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.587e-05/0.3134, allocations: 102.2 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3136, allocations: 138.2 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3136, allocations: 0 / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002483/0.3139, allocations: 161.1 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3139, allocations: 4 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3139, allocations: 4 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3139, allocations: 4 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.314, allocations: 23.92 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3141, allocations: 12 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.3141, allocations: 16.25 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3142, allocations: 12 kB / 1.214 GB, free: 3.266 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.000119/0.3143, allocations: 141.8 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.3143, allocations: 15.81 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.3146, allocations: 130.9 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3146, allocations: 4 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3146, allocations: 3.938 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3146, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3149, allocations: 225.6 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3149, allocations: 4 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.3149, allocations: 12 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3149, allocations: 0 / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3149, allocations: 7.984 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.315, allocations: 4 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.315, allocations: 7.938 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.3152, allocations: 183.3 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.3152, allocations: 88.92 kB / 1.214 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3152, allocations: 8 kB / 1.214 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.3155, allocations: 19.97 kB / 1.214 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3155, allocations: 11.92 kB / 1.214 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.3156, allocations: 7.984 kB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001389/0.3157, allocations: 161.5 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3157, allocations: 0 / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003232/0.3161, allocations: 31.94 kB / 1.215 GB, free: 2.121 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.0005905/0.3166, allocations: 0.7418 MB / 1.215 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3168, allocations: 80.14 kB / 1.215 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3168, allocations: 0 / 1.215 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.3169, allocations: 27.92 kB / 1.215 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3172, allocations: 23.88 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3192, allocations: 1.921 MB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.3195, allocations: 0.7275 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.3196, allocations: 56.88 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.3197, allocations: 51.36 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3197, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.3439, allocations: 4.271 MB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.454, allocations: 4.594 kB / 1.222 GB, free: 10.16 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)