Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_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.006212/0.006212, allocations: 102.4 kB / 15.73 MB, free: 6.039 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.001197/0.001197, allocations: 196.7 kB / 16.68 MB, free: 5.957 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7731, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002846/0.776, allocations: 1.343 MB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001632/0.7762, allocations: 39.81 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.7763, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.7765, allocations: 11.92 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.7766, allocations: 11.94 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.232e-06/0.7766, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.7766, allocations: 23.91 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.7767, allocations: 8 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.7767, allocations: 11.86 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.7768, allocations: 15.88 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.7768, allocations: 0 / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.7769, allocations: 12 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.7769, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.7769, allocations: 11.94 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.777, allocations: 23.91 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7771, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7771, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7771, allocations: 7.984 kB / 1.209 GB, free: 11.97 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.0003168/0.7774, allocations: 325.9 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.7774, allocations: 12.03 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/0.7775, allocations: 30.75 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.7776, allocations: 8.844 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.7777, allocations: 176.3 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.7777, allocations: 384 / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.7778, allocations: 4.375 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.481e-05/0.7779, allocations: 34.25 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7779, allocations: 7.875 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7779, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.7779, allocations: 11.92 kB / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.7779, allocations: 3.984 kB / 1.209 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.7782, allocations: 241 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.796e-05/0.7783, allocations: 26.5 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.7783, allocations: 4.859 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.7783, allocations: 4 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.7784, allocations: 34.56 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7784, allocations: 0 / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001915/0.7786, allocations: 41.61 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.7786, allocations: 55.41 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.7787, allocations: 109.8 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.7787, allocations: 25.7 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.7788, allocations: 88.12 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.7788, allocations: 4 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.7788, allocations: 9.719 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.779, allocations: 319 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.779, allocations: 8 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.779, allocations: 7.922 kB / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.779, allocations: 8.859 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.779, allocations: 3.938 kB / 1.21 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.121e-05/0.7791, allocations: 37.61 kB / 1.21 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7791, allocations: 4 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7791, allocations: 3.938 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7792, allocations: 96 / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.7792, allocations: 8 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7792, allocations: 3.984 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.7792, allocations: 0 / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.7793, allocations: 0 / 1.21 GB, free: 10.11 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 7.868e-05/0.7793, allocations: 121.7 kB / 1.21 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.7794, allocations: 0 / 1.21 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.7795, allocations: 41.22 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.7795, allocations: 0 / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.7795, allocations: 4.031 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7795, allocations: 0 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.7797, allocations: 157.6 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7797, allocations: 0 / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.7797, allocations: 7.938 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7797, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.7797, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7797, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7797, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.7798, allocations: 147.3 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.7799, allocations: 81.11 kB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.7799, allocations: 0 / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.7799, allocations: 0 / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.7799, allocations: 0 / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.78, allocations: 0 / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.78, allocations: 95.58 kB / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.78, allocations: 0 / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002354/0.7803, allocations: 8 kB / 1.211 GB, free: 9.352 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.0005465/0.7808, allocations: 0.7002 MB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.612e-05/0.7809, allocations: 8.031 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.7809, allocations: 0 / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.7809, allocations: 4 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.7812, allocations: 7.938 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.7821, allocations: 1.171 MB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.7824, allocations: 0.6768 MB / 1.213 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.839e-05/0.7825, allocations: 11.94 kB / 1.214 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.7825, allocations: 7.438 kB / 1.214 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.7825, allocations: 32 / 1.214 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.8008, allocations: 1.388 MB / 1.215 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/9.022, allocations: 3.938 kB / 1.215 GB, free: 5.324 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)