Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_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.001782/0.001782, allocations: 106.8 kB / 16.4 MB, free: 6.492 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.001974/0.001974, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.142/2.142, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.486/1.486, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 62.28 kB / 0.5572 GB, free: 32.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2826, allocations: 76.19 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.005141/0.2878, allocations: 1.451 MB / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.2901, allocations: 1.117 MB / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.2903, allocations: 0 / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.2907, allocations: 19.86 kB / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.291, allocations: 43.78 kB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.2913, allocations: 54.36 kB / 0.6342 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.2916, allocations: 147.6 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.2919, allocations: 69.06 kB / 0.6344 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2921, allocations: 79.7 kB / 0.6345 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.2924, allocations: 59.77 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.2924, allocations: 8 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2926, allocations: 27.94 kB / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2927, allocations: 51.81 kB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2929, allocations: 75.58 kB / 0.6347 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.2933, allocations: 202.1 kB / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2933, allocations: 0 / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.2933, allocations: 0 / 0.6349 GB, free: 1.523 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.2934, allocations: 0 / 0.6349 GB, free: 1.523 MB / 478.1 MB 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.001068/0.2944, allocations: 0.4956 MB / 0.6354 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.2945, allocations: 8.031 kB / 0.6354 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.615e-05/0.2946, allocations: 46.73 kB / 0.6354 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.2947, allocations: 20.66 kB / 0.6354 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.2952, allocations: 244 kB / 0.6357 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.2954, allocations: 119.4 kB / 0.6358 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2954, allocations: 8.359 kB / 0.6358 GB, free: 484 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.2959, allocations: 169.4 kB / 0.636 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2959, allocations: 0 / 0.636 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.2959, allocations: 4 kB / 0.636 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.296, allocations: 11.98 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2961, allocations: 39.98 kB / 0.636 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.2975, allocations: 460.3 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.2977, allocations: 30.58 kB / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.2978, allocations: 32.84 kB / 0.6365 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.2978, allocations: 8.141 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.2979, allocations: 34.5 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.2979, allocations: 0 / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003994/0.2983, allocations: 113.5 kB / 0.6367 GB, free: 15.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.2984, allocations: 55.34 kB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.2988, allocations: 211.8 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.2989, allocations: 29.7 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.299, allocations: 128.1 kB / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.2991, allocations: 27.56 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.2992, allocations: 29.7 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2994, allocations: 322.8 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.2995, allocations: 35.97 kB / 0.6375 GB, free: 14.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.2996, allocations: 98.17 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.2999, allocations: 142.2 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2999, allocations: 0 / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003491/0.3002, allocations: 149.6 kB / 0.6378 GB, free: 14.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3003, allocations: 12.06 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3003, allocations: 4 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3003, allocations: 7.938 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3005, allocations: 19.94 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.3005, allocations: 11.92 kB / 0.6379 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3006, allocations: 15.84 kB / 0.6379 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3007, allocations: 8 kB / 0.6379 GB, free: 14.09 MB / 494.1 MB 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.0001955/0.3009, allocations: 141.8 kB / 0.638 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.301, allocations: 15.81 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.3013, allocations: 118.9 kB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3013, allocations: 0 / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.3013, allocations: 11.88 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3013, allocations: 3.984 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.3017, allocations: 229.5 kB / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3017, allocations: 0 / 0.6384 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.3018, allocations: 15.98 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3018, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3018, allocations: 3.938 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3018, allocations: 4 kB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3019, allocations: 7.938 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.3022, allocations: 191.3 kB / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.3023, allocations: 92.98 kB / 0.6387 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3023, allocations: 0 / 0.6387 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.3027, allocations: 19.98 kB / 0.6387 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.3027, allocations: 15.86 kB / 0.6387 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.3028, allocations: 11.98 kB / 0.6388 GB, free: 13.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.303, allocations: 160.2 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.303, allocations: 0 / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.3035, allocations: 35.84 kB / 0.6389 GB, free: 12.93 MB / 494.1 MB 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.0008179/0.3044, allocations: 0.7429 MB / 0.6397 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3046, allocations: 67.84 kB / 0.6397 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.3046, allocations: 0 / 0.6397 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/0.3047, allocations: 32.67 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.3052, allocations: 26.19 kB / 0.6398 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.3082, allocations: 1.912 MB / 0.6417 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.3087, allocations: 0.7314 MB / 0.6424 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.3089, allocations: 52.8 kB / 0.6424 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.309, allocations: 47.41 kB / 0.6425 GB, free: 9.125 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3091, allocations: 0 / 0.6425 GB, free: 9.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.3472, allocations: 4.27 MB / 0.6466 GB, free: 4.973 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.21, allocations: 8.797 kB / 0.6466 GB, free: 4.969 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)