Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001448/0.001448, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 196.3 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.889/1.889, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 70.84 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2426, allocations: 114.6 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002283/0.2449, allocations: 1.259 MB / 0.7849 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.2459, allocations: 0.7232 MB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.246, allocations: 3.938 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.246, allocations: 3.984 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.2462, allocations: 19.92 kB / 0.7856 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2464, allocations: 43.86 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.2465, allocations: 31.86 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2466, allocations: 4 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.2466, allocations: 11.98 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.2467, allocations: 7.984 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.2468, allocations: 0 / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.2468, allocations: 11.92 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.2469, allocations: 8 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.2469, allocations: 7.984 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.456e-05/0.247, allocations: 23.91 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.247, allocations: 4 kB / 0.7858 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.247, allocations: 0 / 0.7858 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.247, allocations: 4 kB / 0.7858 GB, free: 11.12 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003285/0.2473, allocations: 331.7 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2474, allocations: 8.031 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.2474, allocations: 106 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.2475, allocations: 84.16 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2477, allocations: 235.7 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.2477, allocations: 154.9 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.2478, allocations: 154.9 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.468e-05/0.2479, allocations: 109.5 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.2479, allocations: 79.22 kB / 0.787 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.2479, allocations: 150.6 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.248, allocations: 150.6 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.2481, allocations: 158.5 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.2484, allocations: 453.8 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.2484, allocations: 165.2 kB / 0.788 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.2485, allocations: 88.14 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.2485, allocations: 83.22 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.2486, allocations: 109.8 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2486, allocations: 0 / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.84e-05/0.2487, allocations: 33.58 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.2487, allocations: 130.7 kB / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2488, allocations: 105.8 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2489, allocations: 25.7 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.2489, allocations: 84.14 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.2489, allocations: 0 / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.2489, allocations: 25.62 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.2491, allocations: 314.8 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.2491, allocations: 4 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.2491, allocations: 11.98 kB / 0.789 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.2491, allocations: 16.86 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2492, allocations: 4.031 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.2493, allocations: 41.69 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2493, allocations: 11.94 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2493, allocations: 0 / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2493, allocations: 0 / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.2493, allocations: 0 / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2493, allocations: 0 / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2494, allocations: 7.938 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2495, allocations: 0 / 0.789 GB, free: 7.508 MB / 0.6075 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): 0 * Array equations: 1 * 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 9.669e-05/0.2496, allocations: 189.1 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.2496, allocations: 121.8 kB / 0.7893 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.2497, allocations: 112.3 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.2497, allocations: 176.3 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/0.2498, allocations: 188.4 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.858e-05/0.2499, allocations: 176.3 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.2501, allocations: 417.2 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/0.2502, allocations: 101 kB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.2502, allocations: 101 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.47e-05/0.2503, allocations: 184.3 kB / 0.7907 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.2503, allocations: 180.3 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.688e-05/0.2504, allocations: 188.2 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.572e-05/0.2505, allocations: 184.2 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2506, allocations: 307.7 kB / 0.7915 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.2507, allocations: 186.1 kB / 0.7917 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.2508, allocations: 188.1 kB / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.2509, allocations: 105 kB / 0.792 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.2509, allocations: 176.3 kB / 0.7922 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.251, allocations: 108.9 kB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.251, allocations: 87.27 kB / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.251, allocations: 0 / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002195/0.2512, allocations: 4 kB / 0.7924 GB, free: 3.875 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0004848/0.2517, allocations: 0.8201 MB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.2518, allocations: 11.92 kB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2518, allocations: 0 / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2518, allocations: 8 kB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2521, allocations: 458.1 kB / 0.7936 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008702/0.253, allocations: 1.291 MB / 0.7949 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.2532, allocations: 0.6768 MB / 0.7955 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.2532, allocations: 4 kB / 0.7955 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.2533, allocations: 7.438 kB / 0.7956 GB, free: 484 kB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2533, allocations: 4.031 kB / 0.7956 GB, free: 480 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.2713, allocations: 1.272 MB / 0.7968 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.487, allocations: 14.56 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)