Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.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 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.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_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.005823/0.005822, allocations: 106.4 kB / 15.74 MB, free: 5.582 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.001305/0.001305, allocations: 186.9 kB / 16.67 MB, free: 5.516 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.436/2.436, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 60.12 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.7, allocations: 151.6 MB / 1.166 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002203/0.7023, allocations: 1.348 MB / 1.167 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.7024, allocations: 31.83 kB / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.7025, allocations: 4 kB / 1.167 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.7026, allocations: 11.92 kB / 1.168 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.715e-05/0.7027, allocations: 11.92 kB / 1.168 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.466e-06/0.7027, allocations: 4 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.7028, allocations: 19.88 kB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.7028, allocations: 4 kB / 1.168 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.7029, allocations: 7.984 kB / 1.168 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.7029, allocations: 11.88 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.7029, allocations: 0 / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.703, allocations: 19.98 kB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.703, allocations: 0 / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.703, allocations: 15.86 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.922e-05/0.7031, allocations: 19.97 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7031, allocations: 0 / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.456e-06/0.7031, allocations: 4 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.7032, allocations: 7.875 kB / 1.168 GB, free: 2.305 MB / 0.8887 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.0002828/0.7034, allocations: 333.9 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.7035, allocations: 8.922 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.7035, allocations: 38.75 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.7036, allocations: 4.844 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.7037, allocations: 172.3 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.7037, allocations: 384 / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.7037, allocations: 4.375 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.7038, allocations: 42.25 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.7038, allocations: 3.938 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.7038, allocations: 3.984 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.7039, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.7039, allocations: 7.938 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.7041, allocations: 239.5 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/0.7042, allocations: 26.52 kB / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.7042, allocations: 8.859 kB / 1.168 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.7042, allocations: 0 / 1.168 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.7042, allocations: 30.56 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.7042, allocations: 0 / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.7044, allocations: 41.61 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.7044, allocations: 55.39 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.7045, allocations: 113.8 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.7045, allocations: 33.83 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.7046, allocations: 84.14 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.7046, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.7046, allocations: 17.66 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.7047, allocations: 310.8 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.7047, allocations: 7.984 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-06/0.7047, allocations: 4 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.7047, allocations: 16.86 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7048, allocations: 3.938 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.534e-05/0.7048, allocations: 33.61 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7048, allocations: 8 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.7048, allocations: 0 / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.7049, allocations: 3.938 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.7049, allocations: 3.984 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7049, allocations: 4 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.7049, allocations: 0 / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.7049, allocations: 0 / 1.169 GB, free: 452 kB / 0.8887 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.061e-05/0.705, allocations: 117.8 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.705, allocations: 4 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.7051, allocations: 41.16 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.7051, allocations: 4 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.7051, allocations: 0 / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.7051, allocations: 0 / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.7053, allocations: 157.6 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.7053, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.7053, allocations: 4 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7053, allocations: 4.031 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.7053, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7053, allocations: 4 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7053, allocations: 0 / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/0.7054, allocations: 139.4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.7055, allocations: 81.05 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.7055, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.7055, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-06/0.7055, allocations: 8.016 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.7055, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.7056, allocations: 95.56 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7056, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002242/0.7058, allocations: 4 kB / 1.17 GB, free: 15.68 MB / 0.9044 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.0003973/0.7062, allocations: 0.7017 MB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.7063, allocations: 7.938 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7063, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.832e-06/0.7063, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.7065, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.7074, allocations: 1.179 MB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.7076, allocations: 0.6808 MB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.7076, allocations: 7.938 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.7077, allocations: 7.438 kB / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.7077, allocations: 0 / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6862/1.394, allocations: 1.381 MB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.46, allocations: 8.516 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)